Skip to main content

Runit Service Management on Void Linux

Basic Usage
#

To start service
#

sv up  <services>

To stop service
#

sv down   <services>

To restart service
#

sv restart   <services>

To get status of a service
#

sv status  <services>
 

To get status about all serverces
#

sv status /var/service/*

Enabling a sevices
#

ln -s /etc/sv/<service> /var/service/

To start a service on boot
#

ln -s /etc/sv/<service> /etc/runit/runsvdir/default/

To Disable A Service
#

Remove the symlink from the running runsvdir

rm /var/service/<service>

If the service is in default
#

rm /etc/runit/runsvdir/default/<service>
Youcef
Author
Youcef
My name is youcef and i’m linux user who fool in love with linux , like free and open software .