Skip to content

VoidNitro/void-nitro-scripts

 
 

Repository files navigation

nitro init scripts for void

This repository contains the nitro init scripts for the Void Nitro distribution.

Dependencies

  • A POSIX shell
  • A POSIX awk
  • procps-ng (needs pkill -s0,1)
  • nitro

How to use it

nitro is used by default in the Void Nitro 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/nitro/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:

# nitroctl list /var/service/*

Feel free to send patches and contribute with improvements!

Copyright

void-nitro-scripts 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/

About

nitro init scripts for Void

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 35.4%
  • Shell 33.4%
  • Roff 18.4%
  • Awk 8.4%
  • Makefile 4.4%