Services & Daemons in Void Linux Runit

Void uses the runit supervision suite to run system services and daemons

Basic Usage

To start, stop, restart or get the status of a service:

Example

See the man sv(8) for more information

Enabling Services

Void Linux provides service directories for most daemons in /etc/sv/

To enable a service on a booted system, create a symlink to the service directory in /var/service/

Disabling Services

To disable a service, remove the symlink from the running runsvdir

Testing Services

To check if a service is working correctly when started by the service supervisor, run it once before fully enabling it:

If everything works, remove the down file to enable the service.

----------

Home

Linux

Notes

MicroLog

----------

© DarknessCode