monitoringpy/templates/monitoringpy.service.j2
2019-12-30 17:07:31 +01:00

18 lines
309 B
Django/Jinja

[Unit]
Description=Montiroing.py
After=syslog.target
[Service]
Type=simple
User=root
Group=root
WorkingDirectory=/opt/monitoring.py/
ExecStart=/opt/monitoring.py/run.py
SyslogIdentifier=monitoringpy
StandardOutput=syslog
StandardError=syslog
Restart=always
RestartSec=3
[Install]
WantedBy=multi-user.target