octoprint/files/octoprint.service
author Luke Hoersten <luke@hoersten.org>
Sat, 10 Feb 2024 15:41:05 -0600
changeset 230 07f08cc98da0
parent 193 fd46c0e68c2c
permissions -rw-r--r--
Added swapfile role.

[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