X-Git-Url: https://jfr.im/git/erebus.git/blobdiff_plain/1e0639df0e71a24da1dd33529581ffe244c91a1b..10e2a6b9de8d05cd2fa3b4c9a76b2c32fddbbf48:/croncheck.sh diff --git a/croncheck.sh b/croncheck.sh index 165b746..4058c16 100755 --- a/croncheck.sh +++ b/croncheck.sh @@ -1,8 +1,8 @@ #!/bin/bash -exec &>/dev/null cd /home/jrunyon/erebus +exec &>nohup.out if ! kill -0 "$(cat pidfile)"; then - nohup ./run.sh >nohup.out & + nohup ./run.sh & fi