Syster Services
This commit is contained in:
1 parent
510f321833
commit
d07bd68db4
7 files changed
+89
-311
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user