diff options
author | tv <tv@xso> | 2011-09-09 23:21:24 +0200 |
---|---|---|
committer | tv <tv@xso> | 2011-09-09 23:21:24 +0200 |
commit | 9e81bd677a1efa4533ff4eee84610518f6d5ff4b (patch) | |
tree | ee3d29ed38d83ed1c3917f01af62cfd36ff55f08 /Reaktor/README.md | |
parent | ffe8db22cddabfe7c351aacfe5d0323787420f1a (diff) |
//Reaktor: the user is called Reaktor
Diffstat (limited to 'Reaktor/README.md')
-rw-r--r-- | Reaktor/README.md | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/Reaktor/README.md b/Reaktor/README.md index 464af015..05af8ef5 100644 --- a/Reaktor/README.md +++ b/Reaktor/README.md @@ -2,25 +2,28 @@ ## Quickstart - ## 1. prepare Reaktor for nobody + ## 1. prepare Reaktor //Reaktor/install - ## 2. marry Reaktor with /sbin/init + ## 2. create a dedicated user + useradd Reaktor - ## 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] + ## 3. marry Reaktor with /sbin/init + + ## 3a. /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] telinit q - ## 2b. upstart-like foo + ## 3b. 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 + exec /usr/bin/sudo -u Reaktor /krebs/Reaktor/index EOF start Reaktor |