Page 1 of 1

Polrestarter for linux

Posted: Thu Jun 21, 2007 12:49 pm
by Pumpkins
Hi ladys :D

Im looking for a version from polrestarter.bat but for linux..

at the moment im using 095

Posted: Sat Jul 28, 2007 4:58 pm
by AxelDominatoR
I just posted my POLManager script here on this forum.
I honestly never used polrestarter.bat but my script has a simple auto-restart facility, you may give it a try and see if it can help you...

:shock:

Re: Polrestarter for linux

Posted: Mon Sep 29, 2008 5:27 am
by goqsane

Code: Select all

user="youruser"
process="./pol"
dir="/home/you/sth"
while [ 1 ] ; do
ps U $user | grep -v grep | grep -w $process
if [ $? != 0 ];then
        echo '[+] Launching POL...'
        cd $dir && ./pol
        echo '[+] Done...'
else
        echo '[!] Proces is running!'
fi
sleep 60
remember that POL needs a tty, I sugggest 'screen'

Re: Polrestarter for linux

Posted: Tue Sep 30, 2008 9:09 am
by AxelDominatoR
Mmm... screen is a nice idea. I could put it into POLManager v0.0.4 if you don't mind me stealing your suggestion :)