hacdc-klipper/config/services/moonraker.service
2024-04-08 21:22:35 -04:00

19 lines
450 B
Desktop File

# systemd service file for moonraker
[Unit]
Description=API Server for Klipper - PRINTERNAME
Requires=network-online.target
After=network-online.target
[Install]
WantedBy=multi-user.target
[Service]
Type=simple
User=pi
SupplementaryGroups=moonraker-admin
RemainAfterExit=yes
EnvironmentFile=/home/pi/PRINTERNAME/printer_data/systemd/moonraker.env
ExecStart=/home/pi/PRINTERNAME/moonraker-env/bin/python $MOONRAKER_ARGS
Restart=always
RestartSec=10