aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md17
1 files changed, 16 insertions, 1 deletions
diff --git a/README.md b/README.md
index a45770d..031d195 100644
--- a/README.md
+++ b/README.md
@@ -2,10 +2,25 @@
## Quickstart
+ ## 1. prepare Reaktor for nobody
//Reaktor/install
+ ## 2. marry Reaktor with /sbin/init
+
+ ## 2a. /etc/inittab-like foo
echo 10:2345:respawn:/bin/su nobody -c /krebs/Reaktor/index >>/etc/inittab
# or 10:2345:respawn:/usr/bin/sudo -u nobody /krebs/Reaktor/index
# if nobody's shell is /bin/false or similar
-
+ # [check with e.g getent passwd nobody]
telinit q
+
+ ## 2b. upstart-like foo
+
+ cat > /etc/init/Reaktor.conf <EOF
+ description "Krebs Reaktor"
+ author "The Ministerium"
+ stop on runlevel [016]
+ respawn
+ exec /usr/bin/sudo -u nobody /krebs/Reaktor/index
+ EOF
+ start Reaktor