From 59fbd46c248ea9914e33418036aee45ffc105047 Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 13 Sep 2011 17:23:25 +0200 Subject: //Reaktor: use debilian-compatible username --- README.md | 12 ++++++------ commands/reload | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index b6ea89f..a581c6b 100644 --- a/README.md +++ b/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/commands/reload b/commands/reload index 2b78b17..bfa1f04 100755 --- a/commands/reload +++ b/commands/reload @@ -1,2 +1,2 @@ #! /bin/sh -exec pkill -U Reaktor +exec pkill -U reaktor -- cgit v1.2.3