src.nth.io/

summaryrefslogtreecommitdiff
path: root/octoprint/files
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2022-09-10 14:52:58 -0500
committerLuke Hoersten <[email protected]>2022-09-10 14:52:58 -0500
commitc8ed357319d0f597aca9fa50c5176d0e19205e7d (patch)
treef06760d7ee064de418b6a38024377f4070528a37 /octoprint/files
parent7896e9ba37e627d274119fd85367290db1b8a0cd (diff)
Initial octoprint role.
Diffstat (limited to 'octoprint/files')
-rw-r--r--octoprint/files/octoprint.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/octoprint/files/octoprint.service b/octoprint/files/octoprint.service
new file mode 100644
index 0000000..0aab27f
--- /dev/null
+++ b/octoprint/files/octoprint.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Octoprint
+After=network.target
+
+[Service]
+Environment="LC_ALL=C.UTF-8"
+Environment="LANG=C.UTF-8"
+User=octoprint
+Group=octoprint
+WorkingDirectory=/opt/octoprint/
+ExecStart=/usr/local/bin/octoprint
+
+[Install]
+WantedBy=multi-user.target