mirror of
https://github.com/dw-0/kiauh.git
synced 2025-12-19 13:54:29 +05:00
feat: KIAUH v4.0.0 (#191)
This commit is contained in:
19
resources/moonraker-telegram-bot.service
Normal file
19
resources/moonraker-telegram-bot.service
Normal file
@@ -0,0 +1,19 @@
|
||||
#Systemd service file for Moonraker Telegram Bot
|
||||
|
||||
[Unit]
|
||||
Description=Starts Moonraker Telegram Bot instance %INST% on startup
|
||||
Documentation=https://github.com/nlef/moonraker-telegram-bot/wiki
|
||||
After=network.target
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
[Service]
|
||||
Environment=TELEGRAM_CONF=%CFG%
|
||||
Environment=TELEGRAM_LOG=%LOG%
|
||||
Type=simple
|
||||
User=%USER%
|
||||
RemainAfterExit=yes
|
||||
ExecStart=%ENV%/bin/python %DIR%/bot/main.py -c ${TELEGRAM_CONF} -l ${TELEGRAM_LOG}
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
Reference in New Issue
Block a user