summarylogtreecommitdiffstats
path: root/octoprint.service
diff options
context:
space:
mode:
Diffstat (limited to 'octoprint.service')
-rw-r--r--octoprint.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/octoprint.service b/octoprint.service
new file mode 100644
index 000000000000..b064adab9fcd
--- /dev/null
+++ b/octoprint.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Octoprint 3d Printing Web Server
+After=network.target
+
+[Service]
+User=octoprint
+Group=octoprint
+Type=simple
+ExecStart=/usr/bin/octoprint
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target