Difference between revisions of "OpenRC, an alternative to systemd"
→Adding or Removing services: add exmples
imported>Aaditya |
imported>Aaditya |
||
Line 159: | Line 159: | ||
sudo rc-update add <service> <runlevel> | sudo rc-update add <service> <runlevel> | ||
For example, | |||
sudo rc-update | sudo rc-update add sshd default | ||
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 === |