Git Product home page Git Product logo

void-runit-1's Introduction

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/

void-runit-1's People

Contributors

ackalker avatar aloz1 avatar asergi avatar bougyman avatar cmb avatar dne avatar dominikh avatar duncaen avatar faulesocke avatar gottox avatar hanspolo avatar inthecloud247 avatar jantatje avatar kraj avatar leahneukirchen avatar michael-s avatar nmeum avatar pbui avatar phy1729 avatar suiginsoft avatar teh-jazzman avatar uggedal avatar vaelatern avatar ypnose avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.