This commit is contained in:
2025-09-15 21:57:42 -06:00
parent 6e23de8f12
commit 0e2d3152e9
7 changed files with 22 additions and 8 deletions

10
irpg-bot/irpgcheck.sh Normal file
View 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