hacdc-klipper/config/services/klipper.service

20 lines
474 B
SYSTEMD
Raw Normal View History

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