debian/monitorix.service
raw| 1 | [Unit] |
| 2 | Description=Monitorix |
| 3 | Documentation=man:monitorix(8) |
| 4 | After=network-online.target |
| 5 | Requires=network-online.target |
| 6 | |
| 7 | [Service] |
| 8 | Type=forking |
| 9 | EnvironmentFile=-/etc/default/monitorix |
| 10 | ExecStart=/usr/bin/monitorix -c /etc/monitorix/monitorix.conf -p /run/monitorix.pid $OPTIONS |
| 11 | PIDFile=/run/monitorix.pid |
| 12 | |
| 13 | [Install] |
| 14 | WantedBy=multi-user.target |