fix(telegram bot): Fix service restart (#296)
This commit is contained in:
1 parent
bb3ec79756
commit
99b7672dc9
1 file changed
+1
-2
@@ -9,9 +9,8 @@ WantedBy=multi-user.target
|
||||
[Service]
|
||||
Type=simple
|
||||
User=%USER%
|
||||
RemainAfterExit=yes
|
||||
WorkingDirectory=/home/%USER%/moonraker-telegram-bot
|
||||
EnvironmentFile=%ENV_FILE%
|
||||
ExecStart=%ENV%/bin/python $TELEGRAM_BOT_ARGS
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
RestartSec=10
|
||||
Reference in new issue
Block a user