Merge pull request #46 from CameronNemo/patch-2

Add Upstart job.
This commit is contained in:
Jordi Sanfeliu 2014-05-12 15:05:42 +02:00
commit ae7389ef15
1 changed files with 11 additions and 0 deletions

11
docs/monitorix.upstart Normal file
View File

@ -0,0 +1,11 @@
description "Monitorix - system monitoring service"
author "Cameron Norman <camerontnorman@gmail.com>"
start on filesystem
stop on runlevel [016]
expect fork
respawn
pre-start exec test -x /usr/bin/monitorix || { stop; exit 0; }
exec /usr/bin/monitorix -c /etc/monitorix/monitorix.conf