zabbix-telegram/zabbix-telegram.service
3err0 72ae1b1df5 Revert "logfile"
This reverts commit 25e1ac8857.
2019-06-24 15:27:52 +08:00

16 lines
415 B
Desktop File

[Unit]
Description=Zabbix Telegram Bot
After=local-fs.target network-online.target network.target
Wants=local-fs.target network-online.target network.target
[Service]
PIDFile=/var/run/zabbix/zabbix-telegram.pid
ExecStart=/usr/bin/python3 /url/local/bin/zabbix-telegram/main.py
ExecStop=/bin/kill $MAINPID
KillMode=process
Type=simple
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.target