refactor: use service specific directories in templates (#355)

This commit is contained in:
phizev
2023-06-17 18:22:16 +02:00
committed by GitHub
parent 8eb2924832
commit 345b7b66a3
9 changed files with 12 additions and 12 deletions

View File

@@ -9,7 +9,7 @@ WantedBy=multi-user.target
[Service]
Type=simple
User=%USER%
WorkingDirectory=/home/%USER%/moonraker-telegram-bot
WorkingDirectory=%TELEGRAM_BOT_DIR%
EnvironmentFile=%ENV_FILE%
ExecStart=%ENV%/bin/python $TELEGRAM_BOT_ARGS
Restart=always