0
Thanks

A few words of thanks would be greatly appreciated.

Gentoo Linux - Viewing and Managing Runlevels

[Gentoo Linux] Viewing and Managing Runlevels


A small way to manage the init scripts and runlevels under Gentoo.
The Gentoo Linux distribution consists of 4 main levels of runlevels:

  • boot
  • default
  • nonetwork
  • single

To handle, it is recommended to use the command /sbin/rc-update.

  • Adding a service at startup
#rc-update add script <runlevels>

Or

#rc-update -a script <runlevels>
    • Example
# rc-update add MySQL default 
  • Deleting a service at startup
#rc-update del script <runlevels>

Or

#rc-update -d script <runlevels>
    • Example
# rc-update del MySQL default
  • Display service at startup
#rc-update show

Or

#rc-update -s
  • Display the status of services at Startup
#rc-status
0
Thanks

A few words of thanks would be greatly appreciated.

Ask a question
CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jean-François Pillou, founder of CCM.net. CCM reaches more than 50 million unique visitors per month and is available in 11 languages.
This document, titled « Gentoo Linux - Viewing and Managing Runlevels », is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (ccm.net).