Use service specific directories in templates instead of /home/%USER%

This commit is contained in:
phizev
2023-06-15 00:50:46 +02:00
parent 5d7debd65e
commit 41a095f58d
9 changed files with 12 additions and 12 deletions

View File

@@ -12,7 +12,7 @@ Type=simple
User=%USER%
SupplementaryGroups=moonraker-admin
RemainAfterExit=yes
WorkingDirectory=/home/%USER%/moonraker
WorkingDirectory=%MOONRAKER_DIR%
EnvironmentFile=%ENV_FILE%
ExecStart=%ENV%/bin/python $MOONRAKER_ARGS
Restart=always