_                    _
  ___ | |__   __ _ _______ | |_
 / _ \| '_ \ / _` |_  / _ \| __|
| (_) | | | | (_| |/ / (_) | |_
 \___/|_| |_|\__,_/___\___/ \__|

voidLinuxusage

  1. Create the service directory.
    mkdir /etc/sv/<service>
  2. Create the down file for testing.
    touch /etc/sv/<service>/down
  3. Create the run script.
    ${EDITOR} /etc/sv/<service>/run
  4. Add the executable permission to the run script.
    chmod +x /etc/sv/<service>/run
  5. Create the link on /var/services.
    ln -s /etc/sv/<service> /var/service/.
  6. Test the service.
    sv once <service>
  7. If it worked as expected, remove down.
    rm /etc/sv/<service>/down

linux
links
- VoidLinux
- VoidLinux manpages
- voidLinux services

(back to top)

2026-07-15 : Updated links.
2026-07-11 : Translated to Spanish.
2026-01-17 : Created.

(back to top)

ohazot | about | ohazot.com <admin@ohazot.com>

This document applies to: voidLinux | 2026-07-15