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 | e5c6eae9896aeda68204bb7010a6e4e26d7eaca1 (patch) | |
tree | 0dcc367de6f6c1d978cabe3c3275395b1a1757b3 /Reaktor/README.md | |
parent | 60367f4b7bf02b8c2ec074c5ccba6772d175caa9 (diff) |
Reaktor: add nix support, packaging
Diffstat (limited to 'Reaktor/README.md')
-rw-r--r-- | Reaktor/README.md | 25 |
1 files changed, 4 insertions, 21 deletions
diff --git a/Reaktor/README.md b/Reaktor/README.md index a581c6bd..af14d96b 100644 --- a/Reaktor/README.md +++ b/Reaktor/README.md @@ -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 |