19 lines
309 B
Text
19 lines
309 B
Text
|
[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
|