view bin/forever @ 83:1936b1b33a38 dml-dockerised

no dry
author wolffd <wolffd.mail@googlemail.com>
date Mon, 04 Jun 2018 18:27:18 +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