summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@iiso>2011-09-13 17:23:25 +0200
committertv <tv@iiso>2011-09-13 17:23:25 +0200
commitf42893411ca1f6d04c1741962826c9004a2afa6a (patch)
tree4c351c69e00b0eea6439410ee07b75f678991e33
parent25855cfc5356a9f596eb919bbed253f10fd683f9 (diff)
//Reaktor: use debilian-compatible username
-rw-r--r--Reaktor/README.md12
-rwxr-xr-xReaktor/commands/reload2
2 files changed, 7 insertions, 7 deletions
diff --git a/Reaktor/README.md b/Reaktor/README.md
index b6ea89fc..a581c6bd 100644
--- a/Reaktor/README.md
+++ b/Reaktor/README.md
@@ -3,15 +3,15 @@
## Quickstart
## 1. create a dedicated user
- useradd Reaktor
+ useradd reaktor
## 2. marry Reaktor with /sbin/init
## 2a. /etc/inittab-like foo
- echo 10:2345:respawn:/bin/su Reaktor -c /krebs/Reaktor/index >>/etc/inittab
- # or 10:2345:respawn:/usr/bin/sudo -u Reaktor /krebs/Reaktor/index
- # if Reaktor's shell is /bin/false or similar
- # [check with e.g getent passwd Reaktor]
+ echo 10:2345:respawn:/bin/su reaktor -c /krebs/Reaktor/index >>/etc/inittab
+ # or 10:2345:respawn:/usr/bin/sudo -u reaktor /krebs/Reaktor/index
+ # if reaktor's shell is /bin/false or similar
+ # [check with e.g getent passwd reaktor]
telinit q
## 2b. upstart-like foo
@@ -21,6 +21,6 @@
author "The Ministerium"
stop on runlevel [016]
respawn
- exec /usr/bin/sudo -u Reaktor /krebs/Reaktor/index
+ exec /usr/bin/sudo -u reaktor /krebs/Reaktor/index
EOF
start Reaktor
diff --git a/Reaktor/commands/reload b/Reaktor/commands/reload
index 2b78b178..bfa1f041 100755
--- a/Reaktor/commands/reload
+++ b/Reaktor/commands/reload
@@ -1,2 +1,2 @@
#! /bin/sh
-exec pkill -U Reaktor
+exec pkill -U reaktor