These instructions are for Ubuntu, and should work on Debian. This has only been tested on our Ubuntu servers, so YMMV. See comments in the actual file for specific details about the script. ### Install ### This will set the hlds script to start during boot after everything else. This will set the hlds script to stop during shutdown before everything else. (Put hlds in /etc/init.d/) sudo chmod 755 /etc/init.d/hlds sudo update-rc.d hlds defaults 99 01 ### Uninstall ### sudo rm /etc/init.d/hlds sudo update-rc.d hlds remove