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

imported>Aaditya
imported>Aaditya
Line 157: Line 157:
Services can be added to startup with:
Services can be added to startup with:


  sudo rc-update add <service>
  sudo rc-update add <service> <runlevel>


A service can be removed from startup with:
A service can be removed from startup with:


  sudo rc-update del <service>
  sudo rc-update del <service> <runlevel>
 
{{ic|<runlevel>}} can be skipped if adding services to the current runlevel. For example,
 
sudo rc-update add sshd


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