librenms/misc/librenms.service.scl

15 lines
288 B
Plaintext
Raw Normal View History

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