hacdc-klipper/config/services/moonraker.service

19 lines
450 B
SYSTEMD
Raw Normal View History

2024-04-09 01:22:35 +00:00
# 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