firebot/health.sh

8 lines
175 B
Bash
Raw Normal View History

2007-08-24 10:57:29 -06:00
#! /bin/sh
## Restart the bot if it's not running
# Gallium assumes everything's in the cwd
cd /home/neale/src/firebot
kill -0 `cat gallium.pid` 2>/dev/null || ./gallium.py