run cstrike server from rc.local as 'root'
Hello. I'm running a fresh installed Slackware 11.0 with a custom compiled 2.6.18 kernel as a Counter-Strike server. This here is the command for starting the server
Code:
cd /usr/hlds && screen -A -m -d -S hlds ./hlds_run -game cstrike +ip 89.136.239.245 +sv_lan 1 -nomaster +maxplayers 22 +map de_dust2 |
I think you should use:
Code:
su - root -c "cd /usr/hlds && screen -A -m -d -S hlds ./hlds_run -game cstrike +ip 89.136.239.245 +sv_lan 1 -nomaster +maxplayers 22 +map de_dust2" Eric |
All times are GMT -5. The time now is 10:07 AM. |