This commit is contained in:
3err0 2019-06-24 15:23:14 +08:00
parent 98b9b475e7
commit 25e1ac8857

View File

@ -5,7 +5,7 @@ Wants=local-fs.target network-online.target network.target
[Service] [Service]
PIDFile=/var/run/zabbix/zabbix-telegram.pid PIDFile=/var/run/zabbix/zabbix-telegram.pid
ExecStart=/usr/bin/python3 /url/local/bin/zabbix-telegram/main.py ExecStart=/usr/bin/python3 /usr/local/bin/zabbix-telegram/main.py > /var/log/zabbix/zabbix-telegram.log
ExecStop=/bin/kill $MAINPID ExecStop=/bin/kill $MAINPID
KillMode=process KillMode=process
Type=simple Type=simple