aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
blob: 464af0155fb3bfe23814d14ebd489ad4a225f36a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# //Reaktor

## 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