diff options
author | tv <tv@xso> | 2011-09-06 20:23:00 +0200 |
---|---|---|
committer | tv <tv@xso> | 2011-09-06 20:23:00 +0200 |
commit | 6fff79546f484621f77db786cce0b8ec7e2949a5 (patch) | |
tree | 21573709b3a2542b6fca2aaf30f815be4e12a3ca | |
parent | d1d3677d98873306d8a3991ab67dd85b6ac4ad6e (diff) |
//Reaktor/README.md: tell about upstart
-rw-r--r-- | README.md | 17 |
1 files changed, 16 insertions, 1 deletions
@@ -2,10 +2,25 @@ ## 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 |