#Systemd service file for moonraker [Unit] Description=API Server for Klipper Requires=network-online.target After=network-online.target [Install] WantedBy=multi-user.target [Service] Type=simple User={{ moonraker_user }} RemainAfterExit=yes WorkingDirectory={{ moonraker_src_dir }} ExecStart={{moonraker_src_dir}}/venv/bin/python {{moonraker_src_dir}}/moonraker/moonraker.py -c {{moonraker_conf_dir}}/moonraker.conf -l /tmp/moonraker.log Restart=always RestartSec=10