Adds forever script

This commit is contained in:
2019-10-10 13:57:59 +02:00
parent 67346b2887
commit 4f36945dd7

9
bin/forever Executable file
View File

@@ -0,0 +1,9 @@
#!/usr/bin/env bash
while :; do
"$@"
if [ $? -ne 0 ]; then
exit $?
fi
done