3 ms·
Where I work we have a standardised script for controlling programs, and then the init script itself just looks like: #!/bin/sh # chkconfig: 2345 90 10 #
by jstanley 13y ago
Where I work we have a standardised script for controlling programs, and then the init script itself just looks like:
#!/bin/sh
# chkconfig: 2345 90 10
# description: The magical daemon
. /etc/init.d/daemon-functions
init_daemon "$1" /usr/bin/magic-daemon