summaryrefslogtreecommitdiffstats
path: root/Reaktor/README.md
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2011-09-06 21:22:54 +0200
committermakefu <github@syntax-fehler.de>2011-09-06 21:22:54 +0200
commit93fc9d2eb6bd59858453f20ad23bd241b4ebab29 (patch)
tree34a33e7d00f289d7bed0a518cf4215601f46e8bf /Reaktor/README.md
parentc5b5d61f276a5ac4d2243db48e7e8afc5323679d (diff)
parent229b805732cc34c30bb287aa750fbd14df94cc81 (diff)
Merge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'Reaktor/README.md')
-rw-r--r--Reaktor/README.md26
1 files changed, 26 insertions, 0 deletions
diff --git a/Reaktor/README.md b/Reaktor/README.md
new file mode 100644
index 00000000..464af015
--- /dev/null
+++ b/Reaktor/README.md
@@ -0,0 +1,26 @@
+# //Reaktor
+
+## 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