librenms/scripts/librenms-poller-service.service
Tony Murray 44cd86d24e Add systemd unit file for the python poller service.
Move poller-service init scripts into to scripts directory and update the documentation.
2016-02-02 20:23:08 -06:00

15 lines
251 B
Desktop File

[Unit]
Description=LibreNMS SNMP Poller Service
After=network.target
[Service]
ExecStart=/opt/librenms/poller-service.py
WorkingDirectory=/opt/librenms
User=librenms
Group=librenms
RestartSec=2
Restart=always
[Install]
WantedBy=multi-user.target