summaryrefslogtreecommitdiff
path: root/extra/oxidized.upstart
blob: 26a0f8336503f2f680aa7228d27c5a743408b68a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# by @andrewpwade in issue #45

start on started networking

respawn

setuid oxidized
setgid oxidized

chdir /home/oxidized

env HOME=/home/oxidized

pre-start script
    test -x /usr/local/bin/oxidized || { stop; exit 0; }
end script

exec /usr/local/bin/oxidized