diff options
author | Juan RP <xtraeme@gmail.com> | 2014-08-04 11:10:12 +0200 |
---|---|---|
committer | Juan RP <xtraeme@gmail.com> | 2014-08-04 11:10:12 +0200 |
commit | fe3be85a1173065c37ff8ccb905c8ea0c7c6fb96 (patch) | |
tree | 3ab0a3f794ad8d6804052fd96e082f214399b00d /README.md | |
parent | 60358da137cf4793d552201d5c6bf9084c1c2aa4 (diff) | |
download | runit-void-fe3be85a1173065c37ff8ccb905c8ea0c7c6fb96.tar.gz runit-void-fe3be85a1173065c37ff8ccb905c8ea0c7c6fb96.tar.xz runit-void-fe3be85a1173065c37ff8ccb905c8ea0c7c6fb96.zip |
README: sync with reality.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 23 |
1 files changed, 3 insertions, 20 deletions
diff --git a/README.md b/README.md index 0d60c13..7affbd3 100644 --- a/README.md +++ b/README.md @@ -7,32 +7,15 @@ difference that I'm trying to avoid the bash dependency. ### How to use it - # xbps-install -Sy runit-void +runit is used by default in the Void distribution. -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 - -To reboot after making the change, you'll need to use the previous init tool "systemd" -reboot command directly. From a command shell, as root run: - - # systemctl reboot - -After the reboot runit will kick in and start services in "default" runlevel (multi-user). - To see enabled services for "current" runlevel: - $ ls /var/service + $ ls -l /var/service To see available runlevels (default and single, which just runs sulogin): - $ ls /etc/runit/runsvdir + $ ls -l /etc/runit/runsvdir To enable and start a service into the "current" runlevel: |