view bin/forever @ 67:1d3b52f93d8c

Added caption to help keep track of SCREEN sessions.
author samer
date Fri, 14 Aug 2015 16:29:00 +0100
parents 7d34f4b6df69
children
line wrap: on
line source
#!/bin/sh
# Usage: forever <command> <arg> ...
# This will run a command plus any arguments repeatedly for ever unless command returns non-zero exit code
if $*; then
	exec forever $*
fi