]> jfr.im git - erebus.git/blobdiff - croncheck.sh
help - add a line denoting the end of the listing
[erebus.git] / croncheck.sh
index 165b746ad077575561dc7f2cc9316bf633486e95..4058c16c9736166be44cbae7a9930e7af3eeb759 100755 (executable)
@@ -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