diff --git a/files/extras/octoprint-server/octoprint.service b/files/extras/octoprint-server/octoprint.service new file mode 100644 index 0000000..f23cbfc --- /dev/null +++ b/files/extras/octoprint-server/octoprint.service @@ -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