octoprint/files/octoprint.service
author Luke Hoersten <luke@hoersten.org>
Mon, 30 Jan 2023 14:28:02 -0600
changeset 207 e16c94c81b53
parent 193 fd46c0e68c2c
permissions -rw-r--r--
Updated dendrite logs to error for less verbose.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
193
fd46c0e68c2c Initial octoprint role.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     1
[Unit]
fd46c0e68c2c Initial octoprint role.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     2
Description=Octoprint
fd46c0e68c2c Initial octoprint role.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     3
After=network.target
fd46c0e68c2c Initial octoprint role.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     4
fd46c0e68c2c Initial octoprint role.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     5
[Service]
fd46c0e68c2c Initial octoprint role.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     6
Environment="LC_ALL=C.UTF-8"
fd46c0e68c2c Initial octoprint role.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     7
Environment="LANG=C.UTF-8"
fd46c0e68c2c Initial octoprint role.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     8
User=octoprint
fd46c0e68c2c Initial octoprint role.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     9
Group=octoprint
fd46c0e68c2c Initial octoprint role.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    10
WorkingDirectory=/opt/octoprint/
fd46c0e68c2c Initial octoprint role.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    11
ExecStart=/usr/local/bin/octoprint
fd46c0e68c2c Initial octoprint role.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    12
fd46c0e68c2c Initial octoprint role.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    13
[Install]
fd46c0e68c2c Initial octoprint role.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    14
WantedBy=multi-user.target