Create octoprint.service

This commit is contained in:
Steve Zabka
2021-11-09 08:26:28 +01:00
committed by GitHub
parent 9a001a5097
commit 013b8af966

View File

@@ -0,0 +1,14 @@
[Unit]
Description=The snappy web interface for your 3D printer
After=network-online.target
Wants=network-online.target
[Service]
Environment="LC_ALL=C.UTF-8"
Environment="LANG=C.UTF-8"
Type=exec
User=$USER
ExecStart=/home/$USER/OctoPrint/venv/bin/octoprint
[Install]
WantedBy=multi-user.target