Difference between revisions of "OpenRC, an alternative to systemd"

imported>Aaditya
imported>Aaditya
Line 159: Line 159:
  sudo rc-update add <service> <runlevel>
  sudo rc-update add <service> <runlevel>


A service can be removed from startup with:
For example,


  sudo rc-update del <service> <runlevel>
  sudo rc-update add sshd default


{{ic|<runlevel>}} can be skipped if adding services to the current runlevel. For example,
runlevel can be skipped if adding services to the current runlevel, ie:


  sudo rc-update add sshd
  sudo rc-update add sshd
A service can be removed from startup with:
sudo rc-update del <service> <runlevel>


=== Check running services ===
=== Check running services ===
Anonymous user