diff options
-rw-r--r-- | README.md | 6 | ||||
-rwxr-xr-x | daemon | 12 |
2 files changed, 3 insertions, 15 deletions
@@ -11,8 +11,8 @@ ## 3. marry Reaktor with /sbin/init ## 3a. /etc/inittab-like foo - echo 10:2345:respawn:/bin/su Reaktor -c /krebs/Reaktor/daemon >>/etc/inittab - # or 10:2345:respawn:/usr/bin/sudo -u Reaktor /krebs/Reaktor/daemon + 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 @@ -24,6 +24,6 @@ author "The Ministerium" stop on runlevel [016] respawn - exec /usr/bin/sudo -u Reaktor /krebs/Reaktor/daemon + exec /usr/bin/sudo -u Reaktor /krebs/Reaktor/index EOF start Reaktor @@ -1,12 +0,0 @@ -#! /bin/sh -# -# //Reaktor/daemon -# -# Start Reaktor as daemon w/o leaving an useless shell around. -# -set -euf - -# cd //Reaktor -cd $(dirname $(readlink -f $0)) - -./index & |