MMDVM/install-mmdvm-sh/service/telegrambot.service
2022-08-24 08:10:10 +02:00

19 lines
416 B
Desktop File
Executable File

Unit]
Description=TelegraBot Service
After=syslog.target network.target
[Service]
Type=simple
# Restart=always
# RestartSec=3
StandardOutput=null
WorkingDirectory=/usr/bin
ExecStart=/usr/bin/python /home/pi/telegrambot.py
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
[Install]
# To make the network-online.target available
# systemctl enable systemd-networkd-wait-online.service
WantedBy=multi-user.target