All Projects → void-linux → void-runit

void-linux / void-runit

Licence: other
runit init scripts for Void

Programming Languages

c
50402 projects - #5 most used programming language
shell
77523 projects
Roff
2310 projects
awk
318 projects
Makefile
30231 projects

Labels

Projects that are alternatives of or similar to void-runit

void-infrastructure
Infrastructure configuration data for Void systems
Stars: ✭ 49 (-58.47%)
Mutual labels:  voidlinux
void-updates
Update check system for void-packages
Stars: ✭ 25 (-78.81%)
Mutual labels:  voidlinux
VoidMuslWSL
Install Void Linux (with musl-libc) as a WSL Instance (for Windows 10 1803 64bit or later)
Stars: ✭ 30 (-74.58%)
Mutual labels:  voidlinux
ungoogled-chromium-void
Ungoogled Chromium template and builds for Void Linux
Stars: ✭ 35 (-70.34%)
Mutual labels:  voidlinux
voidnsrun
Run glibc binaries in musl libc Void Linux environment
Stars: ✭ 31 (-73.73%)
Mutual labels:  voidlinux
linux-installer
Universal GNU+Linux installer script
Stars: ✭ 16 (-86.44%)
Mutual labels:  voidlinux
void-pine64
Build scripts for void linux images on Pine64 boards.
Stars: ✭ 14 (-88.14%)
Mutual labels:  voidlinux
octoxbps
A Qt-based XBPS front end
Stars: ✭ 45 (-61.86%)
Mutual labels:  voidlinux

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/<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!

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/

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].