Files
kiauh/resources/moonraker.service
coderus ea5219ddc9 fix(systemd): remove RemainAfterExit from services
RemainAfterExit=yes makes impossible for service to restart automatically if exited with 0 exit code
2023-01-06 15:30:22 +01:00

18 lines
407 B
Desktop File

[Unit]
Description=API Server for Klipper SV1 %INST%
Documentation=https://moonraker.readthedocs.io/
Requires=network-online.target
After=network-online.target
[Install]
WantedBy=multi-user.target
[Service]
Type=simple
User=%USER%
SupplementaryGroups=moonraker-admin
WorkingDirectory=/home/%USER%/moonraker
EnvironmentFile=%ENV_FILE%
ExecStart=%ENV%/bin/python $MOONRAKER_ARGS
Restart=always
RestartSec=10