04-17-2009, 01:41 AM
Allright that's a good start - I already have the pid file.
I will let the php script write the desired state (e.g. start/stop) into another file, then kill the process, and let the srcds wrapper read what to do from that file, and if stopped, poll the file every 10 seconds. Any possible pitfalls?
I will let the php script write the desired state (e.g. start/stop) into another file, then kill the process, and let the srcds wrapper read what to do from that file, and if stopped, poll the file every 10 seconds. Any possible pitfalls?