mirror of https://github.com/mikaku/Monitorix.git
Merge pull request #3 from graysky2/master
added systemd service template
This commit is contained in:
commit
887e536669
1
README
1
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
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue