]> jfr.im git - erebus.git/blob - croncheck.sh
make croncheck portable
[erebus.git] / croncheck.sh
1 #!/bin/bash
2
3 cd "$(dirname $(readlink -f $0))"
4 exec &>nohup.out
5
6 if ! kill -0 "$(cat pidfile)"; then
7 nohup ./run.sh &
8 fi