01.11.2011, 15:33
Hola, Necesito un anticrasher para linux, utilize cada uno de estos
https://sampwiki.blast.hk/wiki/Linux_Server
el mas efectivo ( Segun lo dice )
es este
Restar.sh
pero en la consola me aparece un error de
"nohup: cannot run command `./restart.sh': No such file or directory"
Alguien save repararlo? o tienen otro mejor ? porfavor necesito uno urgente, Gracias!
https://sampwiki.blast.hk/wiki/Linux_Server
el mas efectivo ( Segun lo dice )
es este
Restar.sh
pawn Код:
#!/bin/sh
log=samp.log
dat=`date`
samp="/path/to/samp/server/samp03svr"
cd /path/to/samp/server
echo "${dat} watchdog script starting." >>${log}
while true; do
echo "${dat} Server exited, restarting..." >>${log}
mv /path/to/samp/server/server_log.txt /path/to/samp/server/logs/server_log.`date '+%m%d%y%H%M%S'`
${samp} >> $log
sleep 2
done
"nohup: cannot run command `./restart.sh': No such file or directory"
Alguien save repararlo? o tienen otro mejor ? porfavor necesito uno urgente, Gracias!