https://github.com/void-linux/void-runit
runit init scripts for Void
https://github.com/void-linux/void-runit
voidlinux
Last synced: about 2 months ago
JSON representation
runit init scripts for Void
- Host: GitHub
- URL: https://github.com/void-linux/void-runit
- Owner: void-linux
- Created: 2018-06-15T15:25:49.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2025-03-09T16:08:19.000Z (4 months ago)
- Last Synced: 2025-04-12T10:58:26.583Z (3 months ago)
- Topics: voidlinux
- Language: C
- Homepage: https://voidlinux.org
- Size: 246 KB
- Stars: 192
- Watchers: 19
- Forks: 64
- Open Issues: 28
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Runit init scripts for void
This repository contains the runit init scripts for the Void Linux distribution.
This is loosely based on https://github.com/chneukirchen/ignite but with the
difference that I'm trying to avoid the bash dependency.## Dependencies
- A POSIX shell
- A POSIX awk
- procps-ng (needs pkill -s0,1)
- runit### How to use it
runit is used by default in the Void distribution.
To see enabled services for "current" runlevel:$ ls -l /var/service/
To see available runlevels (default and single, which just runs sulogin):
$ ls -l /etc/runit/runsvdir
To enable and start a service into the "current" runlevel:
# ln -s /etc/sv/ /var/service
To disable and remove a service:
# rm -f /var/service/
To view status of all services for "current" runlevel:
# sv status /var/service/*
Feel free to send patches and contribute with improvements!## Copyright
void-runit is in the public domain.
To the extent possible under law, the creator of this work has waived
all copyright and related or neighboring rights to this work.http://creativecommons.org/publicdomain/zero/1.0/