1 |
These instructions are for Ubuntu, and should work on Debian.
|
2 |
This has only been tested on our Ubuntu servers, so YMMV.
|
3 |
See comments in the actual file for specific details about the script.
|
4 |
|
5 |
|
6 |
|
7 |
### Install ###
|
8 |
This will set the hlds script to start during boot after everything else.
|
9 |
This will set the hlds script to stop during shutdown before everything else.
|
10 |
|
11 |
(Put hlds in /etc/init.d/)
|
12 |
sudo chmod 755 /etc/init.d/hlds
|
13 |
sudo update-rc.d hlds defaults 99 01
|
14 |
|
15 |
|
16 |
|
17 |
### Uninstall ###
|
18 |
|
19 |
sudo rm /etc/init.d/hlds
|
20 |
sudo update-rc.d hlds remove
|