Syster Services

This commit is contained in:
Elizabeth Cray committed 2024-04-08 21:22:35 -04:00
1 parent 510f321833
commit d07bd68db4
7 files changed
+89 -311

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
# 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