diff --git a/README b/README index 93ae350..727bcb2 100644 --- a/README +++ b/README @@ -96,6 +96,7 @@ logo_top.png $BASE_DIR top logo monitorixico.png $BASE_DIR favicon monitorix-alert.sh /usr/share/doc/ alert example script monitorix-apache.conf /etc/httpd/conf.d/ apache configuration +monitorix.service /usr/lib/systemd/system/ Arch Linux systemd service template monitorix.init /etc/init.d/ redhat init script monitorix-deb.init /etc/init.d/ debian init script monitorix.logrotate /etc/logrotate.d/ logrotate script diff --git a/docs/monitorix.service b/docs/monitorix.service new file mode 100644 index 0000000..289c613 --- /dev/null +++ b/docs/monitorix.service @@ -0,0 +1,11 @@ +[Unit] +Description=Monitorix +Wants=local-fs.target + +[Service] +Type=forking +ExecStart=/usr/bin/monitorix -c /etc/monitorix.conf -p /run/monitorix.pid +PIDFile=/run/monitorix.pid + +[Install] +WantedBy=multi-user.target