summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpbot-ng_fixer10
1 files changed, 5 insertions, 5 deletions
diff --git a/pbot-ng_fixer b/pbot-ng_fixer
index 078f587..b7ae075 100755
--- a/pbot-ng_fixer
+++ b/pbot-ng_fixer
@@ -5,18 +5,18 @@ do
sleep 30m
# If nothing has been written to the log for 30 minutes then we assume
- # pbot-ng is dead.
+ # pbot is dead.
if [[ -z $(find logs/ -iname 'raw.log' -mmin -30) ]]
then
- # Kill all pbot-ng processes
+ # Kill all pbot processes
while read -r line
do
# If it's not the pid of this process then kill it.
[[ "${line}" != "$$" ]] && kill "${line}" &>/dev/null
- done < <( pgrep -u pbot-ng )
+ done < <( pgrep -u pbot )
- # Start pbot-ng
- cd /home/pbot-ng
+ # Start pbot
+ cd /home/pbot
./envbot &
./labs_change_detector &