diff options
author | makefu <github@syntax-fehler.de> | 2015-08-28 23:39:37 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2015-08-28 23:39:37 +0200 |
commit | 7eba4293714b9dce86c07ccf2fdaddaa11a4c3c7 (patch) | |
tree | 28fdc7158cd28e4b25cf5674ab54da8da8b69c1e /README.md | |
parent | 15026716ab3057998cf2f487742c2dd8e185335c (diff) |
Reaktor: add nix support, packaging
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 25 |
1 files changed, 4 insertions, 21 deletions
@@ -2,25 +2,8 @@ ## Quickstart - ## 1. create a dedicated user - useradd reaktor + pip install -e . + useradd reaktor -m /opt/Reaktor + sudo -u reaktor reaktor run - ## 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] - 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 reaktor /krebs/Reaktor/index - EOF - start Reaktor +## autostart |