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