diff bin/forever @ 0:7d34f4b6df69

Initial check-in (partial)
author samer
date Sun, 18 Jan 2015 16:18:01 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bin/forever	Sun Jan 18 16:18:01 2015 +0000
@@ -0,0 +1,7 @@
+#!/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
+