about summary refs log tree commit diff
path: root/README.md
diff options
context:
space:
mode:
authorJuan RP <xtraeme@gmail.com>2014-04-27 01:33:34 +0200
committerJuan RP <xtraeme@gmail.com>2014-04-27 01:33:34 +0200
commit81d5374f70c1c11406187f903f64dfc07b5e289f (patch)
tree1aa6fb70934bc53458ac7a6cf13f2f1d56969bac /README.md
parent2b8df504105c12f753d8f807524db937466e8369 (diff)
downloadrunit-void-81d5374f70c1c11406187f903f64dfc07b5e289f.tar.gz
runit-void-81d5374f70c1c11406187f903f64dfc07b5e289f.tar.xz
runit-void-81d5374f70c1c11406187f903f64dfc07b5e289f.zip
README.md: explain runlevels and basic stuff.
Diffstat (limited to 'README.md')
-rw-r--r--README.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/README.md b/README.md
index 4b8c780..09747a6 100644
--- a/README.md
+++ b/README.md
@@ -19,4 +19,22 @@ and then update GRUB's configuration file:
 
     # update-grub
 
+reboot and runit will kick in and start services in "default" runlevel (multi-user).
+
+To see enabled services for "current" runlevel:
+
+    $ ls /var/service
+
+To see available runlevels (default and single, which just runs sulogin):
+
+    $ ls /etc/runit/runsvdir
+
+To enable and start a service:
+
+    $ ln -s /etc/sv/<service> /var/service
+
+To disable and remove a service:
+
+    $ rm -f /var/service/<service>
+
 Feel free to send patches and contribute with improvments and/or new services!