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

20 lines
474 B
Desktop File

[Unit]
Description=Klipper 3D Printer Firmware - PRINTERNAME
Documentation=https://www.klipper3d.org/
After=network-online.target
Before=moonraker.service
Wants=udev.target
[Install]
WantedBy=multi-user.target
[Service]
Type=simple
User=pi
RemainAfterExit=yes
WorkingDirectory=/home/pi/PRINTERNAME/klipper
EnvironmentFile=/home/pi/PRINTERNAME/printer_data/systemd/klipper.env
ExecStart=/home/pi/PRINTERNAME/klippy-env/bin/python $KLIPPER_ARGS
Restart=always
RestartSec=10