mirror of https://github.com/nealey/firebot
Make health script suck less
This commit is contained in:
parent
a70cb3c238
commit
bcbb096d7d
|
@ -2,6 +2,6 @@
|
||||||
## Restart the bot if it's not running
|
## Restart the bot if it's not running
|
||||||
|
|
||||||
# Gallium assumes everything's in the cwd
|
# Gallium assumes everything's in the cwd
|
||||||
cd /home/neale/src/firebot
|
cd $(basename $0)
|
||||||
|
|
||||||
kill -0 `cat gallium.pid` 2>/dev/null || ./gallium.py
|
kill -0 $(cat gallium.pid) 2>/dev/null || ./gallium.py
|
||||||
|
|
Loading…
Reference in New Issue