Welcome to WebmasterWorld Guest from 188.8.131.52
'screen -A -m -d -S hlds_server1 ./hlds_run -game cstrike -autoupdate +servercfgfile server1.cfg &'
I want to run this off a different liux account (not root) i tried using the search on the forum but want really sure what to search for so i didnt get very far.
Whats the best way to go about this?
can i use shell_exec() and login to my other accout and run these commands? i have tried this but couldnt figure out how to login to my other account. i would preferable like to beable to do this remotely (but atm my http server is run on the same server as the server i run my games off) so might the way to use sockets and connect through ssh port? and send the commands through that?
Could someone point me in the right direction please.
If this has been discussed before i'm sorry for repost but i couldnt find anything on the net that really made me any the wiser. If there have been previous threads relating to this subject please link me.