summaryrefslogtreecommitdiffhomepage
path: root/server/brpaste.initd
blob: 2d3b661e13c5dc9a47dc5d35911cb64ed1b9fc2d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/sbin/openrc-run
supervisor=supervise-daemon

respawn_delay=30

command_user="nobody:nobody"
command=/usr/bin/brpaste
command_args="\
    ${BRPASTE_REDIS:+-redis $BRPASTE_REDIS} \
    ${BRPASTE_ADDR:+-bind $BRPASTE_ADDR}"

depend() {
    need redis
}