monitoringpy/templates/monitoringpy.service.j2

19 lines
309 B
Text
Raw Normal View History

2019-12-30 16:07:31 +00:00
[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