summaryrefslogtreecommitdiffstats
path: root/Reaktor/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'Reaktor/README.md')
-rw-r--r--Reaktor/README.md17
1 files changed, 16 insertions, 1 deletions
diff --git a/Reaktor/README.md b/Reaktor/README.md
index a45770d9..031d195c 100644
--- a/Reaktor/README.md
+++ b/Reaktor/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