Add upstart example
This commit is contained in:
14
example.upstart.conf
Normal file
14
example.upstart.conf
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
description "Cachet Monitor"
|
||||||
|
|
||||||
|
start on startup
|
||||||
|
|
||||||
|
env USER=root
|
||||||
|
env HOME=/root
|
||||||
|
|
||||||
|
setuid root
|
||||||
|
setgid root
|
||||||
|
chdir /root
|
||||||
|
|
||||||
|
script
|
||||||
|
exec cachet-monitor -c /cachet-monitor.json --immediate
|
||||||
|
end script
|
||||||
Reference in New Issue
Block a user