view bin/forever @ 34:69a653091bc6

A few changes to setup
author samer
date Sat, 21 Feb 2015 02:09:51 +0000
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