summary refs log tree commit diff
path: root/README.md
blob: 0764fdabd3e109b9f5273a7800d424cbdfccf964 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
## Runit init scripts for void

This repository contains the runit init scripts for the Void Linux distribution.

### How to use it

    # xbps-install -Sy runit-void
    
Append `init=/usr/bin/runit-init` to the kernel cmdline, I'd suggest you to use `/etc/default/grub`:

    ...
    GRUB_CMDLINE_LINUX_DEFAULT="loglevel=4 init=/usr/bin/runit-init"
    ...
    
and then update GRUB's configuration file:

    # update-grub

At this moment there's no halt/reboot/shutdown utilities, but you can send the appropiate signal to `runit-init(8)`:

    # init 0 [shutdown]
    # init 6 [reboot]
    
Feel free to send patches and contribute with improvments and/or new services!