★ wanayoo — archive 1999 https://github.com/voidlinux/void-runitNouvelle recherche | Portail wanayoo
Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

runit init scripts for void

branch: master
core-services core-services/05-misc.sh: initialize random seed earlier.
dracut Provide a distro config file for dracut.
runsvdir Disable avahi/dbus/dcron/dhcpcd services from "default" runlevel.
services services/{nfs-server,statd}: fixing nfs-server
.gitignore Forgot to clean up generated bins and ignore them...
1 Fix shutdown regression introduced in 9022506.
2 Added "core" services that are run from scripts on stage 1.
3 Fix shutdown regression introduced in 9022506.
Makefile Install utils to sbin; software expect some utils (shutdown) in /sbin…
README.md added sv status command
ctrlaltdel Fix shutdown regression introduced in 9022506.
functions functions: detect_virt: do nothing if /proc/self/environ does not exist.
halt.8 halt.8: forgot .El
halt.c halt.c: fix path to runit-init.
modules-load Add modules-load.d(5) compatible kernel module loader
pause.1 Add halt/pause utils from ignite.
pause.c Add halt/pause utils from ignite.
rc.conf rc.conf: comment out HARDWARECLOCK and use hw defaults.
rc.local Add an empty rc.local.
shutdown.8 add halt(8) and shutdown(8)
shutdown.sh shutdown: fix write test.
zzz Add zzz, a simple suspend/hibernate script with hooks
zzz.8 Add zzz, a simple suspend/hibernate script with hooks

README.md

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.

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/<service> /var/service

To disable and remove a service:

# rm -f /var/service/<service>

To view status of all services for "current" runlevel:

# sv status /var/service/*

Feel free to send patches and contribute with improvements and/or new services!

Something went wrong with that request. Please try again.