Originally Posted by srs008
Good reasons for not leaving it running. I'd advise separating out the web problem from the game starting and managing.
Here's a trivial web action:
This is in /usr/lib/cgi-bin/doit.sh
<form method=get action=/cgi-bin/doit.sh>
<input type=submit value=doit>
You may find you have some permissions issues or the problem with multiple processes running your game. One way round that is use crontab to start the game, if required, every minute, based on the contents of a request file in /var
echo 'Content-Type: text/plain'
Hope those ideas help.