Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

It looks as if Debian does not use rc.local to customize the boot process; what facilities are provided?

0
Posted

It looks as if Debian does not use rc.local to customize the boot process; what facilities are provided?

0

Suppose a system needs to execute script foo on start-up, or on entry to a particular (System V) runlevel. Then the system administrator should: • Enter the script foo into the directory /etc/init.d/. • Run the Debian command update-rc.d with appropriate arguments, to specify which runlevels should start the service, and which runlevels should stop the service. • Consider rebooting the system to check that the service starts correctly (assuming that you’ve asked for it to be started in the default runlevel). Otherwise, manually start it by running `/etc/init.d/foo start’. One might, for example, cause the script foo to execute at boot-up, by putting it in /etc/init.d/ and running update-rc.d foo defaults 19. The argument `defaults’ refers to the default runlevels, which means (at least in absence of any LSB comment block to the contrary) to start the service in runlevels 2 through 5, and to stop the service in runlevels 0, 1 and 6. (Any LSB Default-Start and Default-Stop directives in

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123