Good suggestion. However, keep in mind that cron @reboot isn't really at reboot, it works when cron is restarted, which can happen during a software upgrade and for a few other reasons.

So, make sure your script checks to see if a PID file exists prior to starting, to prevent a trainwreck. The game binary has an option to write a PID file.



Oskar Levin wrote:
You could make that startup job better with "@reboot" instead of "9 5 * * 5"
:)

--
# Jesse Molina
# Mail = [email protected]
# Page = [email protected]
# Cell = 1.602.323.7608
# Web  = http://www.opendreams.net/jesse/



_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux

Reply via email to