_ _
___ | |__ __ _ _______ | |_
/ _ \| '_ \ / _` |_ / _ \| __|
| (_) | | | | (_| |/ / (_) | |_
\___/|_| |_|\__,_/___\___/ \__|
voidLinux —
usage
- Create the service directory.
mkdir
/etc/sv/<service>
- Create the down file for testing.
touch
/etc/sv/<service>/down
- Create the run script.
${EDITOR}
/etc/sv/<service>/run
- Add the executable permission to the run script.
chmod +x
/etc/sv/<service>/run
- Create the link on /var/services.
ln -s /etc/sv/<service>
/var/service/.
- Test the service.
sv once
<service>
- If it worked as expected, remove down.
rm
/etc/sv/<service>/down
(back to top)
| 2026-07-15 |
: Updated links. |
| 2026-07-11 |
: Translated to Spanish. |
| 2026-01-17 |
: Created. |