sysv-rc-conf is RedHut/CentOS chkconfig alternative for Debian/Ubuntu

The sysv-rc-conf program gives an easy to use interface for managing "/etc/rc{runlevel}.d/" symlinks. The interface comes in two different flavors, one that simply allows turning services on or off and another that allows for more fine tuned management of the symlinks.

Unlike most programs configuration of the levels, you can edit startup scripts for any runlevel, not just the current.
To install just need to run the command:


sudo apt-get install sysv-rc-conf

Once installed run the command:


sudo sysv-rc-conf

You can check or uncheck the options to start a service on any level of execution and may even stop or start the services from this console. It is an indispensable tool to enable or disable applications on an permanently way to boot your ubuntu

To start a service, press the "+"or even "= ". To stop service press "- ". This call to "/ etc / init.d / service start" or "/ etc / init.d / service stop. "

CLI console mode:

If you need a quick change, then you can use the CLI interface:

For example to stop ssh at levels 3 and 5 of execution:


sysv-rc-conf-off level 35 ssh

Atd to start in runlevels 2,3,4 and 5:


sysv-rc-conf on atd

If you want to know more:


man sysv-rc-conf

Tags:

Add new comment

Filtered HTML

  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <pre>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.