Skip to content

Commit

Permalink
README
Browse files Browse the repository at this point in the history
  • Loading branch information
konimex committed Jan 12, 2018
1 parent d972136 commit 65e0733
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This repository contains the runit init scripts for the Artix Linux
distribution.

This work is based on Void Linux's
[runit-void](https://github.com/voidlinux/void-runit). Patches to Void
[void-runit](https://github.com/voidlinux/void-runit). Patches to Void
Linux's repo will also be applied here.

## Dependencies
Expand All @@ -14,34 +14,36 @@ Linux's repo will also be applied here.
- A POSIX awk
- procps-ng (needs pkill -s0,1)
- runit
- opentmpfiles
- opensysusers

### How to use it

To see enabled services for "current" runlevel:

$ ls -l /var/service
$ ls -l /run/runit/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/runit/sv/<service> /var/service
# ln -s /etc/runit/sv/<service> /run/runit/service

To disable and remove a service:

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

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

# sv status /var/service/*
# sv status /run/runit/service/*

Feel free to send patches and contribute with improvements!

## Copyright

runit-cromnix is in the public domain.
runit-artix 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.
Expand Down

0 comments on commit 65e0733

Please sign in to comment.