Add Upstart job.

This commit is contained in:
Cameron Norman 2014-05-12 00:43:54 -07:00
parent abf17582ef
commit b34c8a0924
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