LibreNMS/misc/librenms.service.scl

16 lines
323 B
Plaintext

[Unit]
Description=LibreNMS SNMP Poller Service
After=network.target
[Service]
ExecStart=/usr/bin/scl enable rh-python36 -- /opt/librenms/librenms-service.py -v
ExecReload=/bin/kill -HUP $MAINPID
WorkingDirectory=/opt/librenms
User=librenms
Group=librenms
RestartSec=2
Restart=always
[Install]
WantedBy=multi-user.target