fix(systemd): remove RemainAfterExit from services

RemainAfterExit=yes makes impossible for service to restart automatically if exited with 0 exit code
This commit is contained in:
coderus
2023-01-06 15:30:22 +01:00
parent 150ef0142f
commit ea5219ddc9
3 changed files with 0 additions and 3 deletions

View File

@@ -10,7 +10,6 @@ WantedBy=multi-user.target
[Service]
Type=simple
User=%USER%
RemainAfterExit=yes
WorkingDirectory=/home/%USER%/klipper
EnvironmentFile=%ENV_FILE%
ExecStart=%ENV%/bin/python $KLIPPER_ARGS

View File

@@ -9,7 +9,6 @@ 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

View File

@@ -11,7 +11,6 @@ WantedBy=multi-user.target
Type=simple
User=%USER%
SupplementaryGroups=moonraker-admin
RemainAfterExit=yes
WorkingDirectory=/home/%USER%/moonraker
EnvironmentFile=%ENV_FILE%
ExecStart=%ENV%/bin/python $MOONRAKER_ARGS