Starting applications at boot

sktsee sktsee at tulsaconnect.com
Tue Jun 5 21:05:34 UTC 2007


On Tue, 05 Jun 2007 15:58:16 -0400, Jan Sneep wrote:

[snip]
> 
> Interesting information about how the system starts and kills the various
> scripts.
> 
> But it doesn't say how to add a script to rc2.d for example. Does one just
> arbitrarily pick a number to go before a copy of the script?

Man update-rc.d. You can use this program to create the necessary links in
rcX.d to the appropriate script in /etc/init.d/ to determine when a
service should be started and stopped. You can use either update-rc.d's
defaults, or you can specify the runlevel, and/or the start-stop order of
your service's initscript. 

-- 
sktsee





More information about the ubuntu-users mailing list