added systemd service file template

This commit is contained in:
graysky 2013-01-12 21:36:54 -05:00
parent 252417ead9
commit 526fc19a85
1 changed files with 11 additions and 0 deletions

11
docs/monitorix.service Normal file
View File

@ -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