diff --git a/docs/monitorix.upstart b/docs/monitorix.upstart new file mode 100644 index 0000000..b54ebdc --- /dev/null +++ b/docs/monitorix.upstart @@ -0,0 +1,11 @@ +description "Monitorix - system monitoring service" +author "Cameron Norman " + +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