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