Results 1 to 2 of 2
I run game servers on weekends, and I have a script that starts the servers for me, and what I have tried to do is set up another script to ...
- 05-26-2007 #1Just Joined!
- Join Date
- Oct 2006
- Posts
- 42
Getting a Script to Run at Boot
I run game servers on weekends, and I have a script that starts the servers for me, and what I have tried to do is set up another script to restart the game servers at boot if there is a power outage or the server restarts for some reason. However it isn't working. The following are the lines that I use to add the start scripts. Anyone have any ideas what I am doing wrong?
The script does exist and it does get copied to /etc/init.dCode:cp scripts/hlds_boot -d /etc/init.d update-rc.d -n hlds_boot defaults 99
- 05-26-2007 #2Just Joined!
- Join Date
- Oct 2006
- Posts
- 42
Figured it out. Needed to remove the "-n" switch so that the line reads like this:
Code:update-rc.d hlds_boot defaults 99


Reply With Quote