v0.0.3
This commit is contained in:
10
irpg-bot/irpgcheck.sh
Normal file
10
irpg-bot/irpgcheck.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
if ps -ef | grep -v grep | grep /home/user/private/idlerpg/irpg.pl
|
||||
then
|
||||
exit 0
|
||||
else
|
||||
cd /home/user/private/idlerpg
|
||||
nohup /home/user/private/idlerpg/irpg.pl </dev/null >/dev/null 2>&1 &
|
||||
exit 0
|
||||
fi
|
||||
Reference in New Issue
Block a user