Hi ladys
Im looking for a version from polrestarter.bat but for linux..
at the moment im using 095
Polrestarter for linux
Moderator: POL Developer
- AxelDominatoR
- New User
- Posts: 27
- Joined: Sat Jul 28, 2007 4:37 pm
- Location: HellCat Realms
Re: Polrestarter for linux
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
- AxelDominatoR
- New User
- Posts: 27
- Joined: Sat Jul 28, 2007 4:37 pm
- Location: HellCat Realms
Re: Polrestarter for linux
Mmm... screen is a nice idea. I could put it into POLManager v0.0.4 if you don't mind me stealing your suggestion