summaryrefslogtreecommitdiff
path: root/extra/rvm.oxidized.upstart
blob: 23b5d692d90381dbacebbd0a4b6095f0e8c7502b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
start on started networking

respawn

setuid oxidized
setgid oxidized

chdir /home/oxidized

env HOME=/home/oxidized

pre-start script
	test -x /usr/local/rvm/wrappers/ruby-2.1.2/oxidized || { stop; exit 0; }
end script

script
	exec /usr/local/rvm/wrappers/ruby-2.1.2/oxidized
end script