ansible/roles/klipper/templates/klipper.service.j2
Thomas Schmid aa6286623d add klipper related roles and noodlehub role
Signed-off-by: Thomas Schmid <tom@lfence.de>
2022-01-20 20:40:32 +01:00

16 lines
413 B
Django/Jinja

#Systemd service file for klipper
[Unit]
Description=Starts klipper on startup
After=network.target
[Install]
WantedBy=multi-user.target
[Service]
Type=simple
User= {{ klipper_user }}
RemainAfterExit=yes
ExecStart={{ klipper_dir }}/venv/bin/python {{ klipper_dir }}/klippy/klippy.py {{ klipper_conf_dir }}/printer.cfg -l /tmp/klippy.log -a /tmp/klipper_uds -I /home/klipper/printer
Restart=always
RestartSec=10