Wiki homeEdit this page

Managing services

KISS by default uses busybox init with busybox runit.

Enabling a service

This will immediately start the service and enable it to run on every boot.

# udevd as an example.
ln -s /etc/sv/udevd/ /var/service

Disabling a service

unlink /var/service/udevd

Stopping a service

sv down udevd

Starting a service

sv up udevd

Full usage

Refer to the sv help output for further commands.

-> sv
BusyBox v1.31.1 (2019-10-25 20:52:45 EEST) multi-call binary.

Usage: sv [-v] [-w SEC] CMD SERVICE_DIR...

Control services monitored by runsv supervisor.
Commands (only first character is enough):

status: query service status
up: if service isn't running, start it. If service stops, restart it
once: like 'up', but if service stops, don't restart it
down: send TERM and CONT signals. If ./run exits, start ./finish
        if it exists. After it stops, don't restart service
exit: send TERM and CONT signals to service and log service. If they exit,
        runsv exits too
pause, cont, hup, alarm, interrupt, quit, 1, 2, term, kill: send
STOP, CONT, HUP, ALRM, INT, QUIT, USR1, USR2, TERM, KILL signal to service