Change service type to exec...
... so that `systemctl start octoprint` will report an error if octoprint cannot be started. See `man systemd.service` for explanation.
This commit is contained in:
1 parent
bf8ff63585
commit
850d449290
1 file changed
+1
-1
@@ -6,7 +6,7 @@ Wants=network-online.target
|
||||
[Service]
|
||||
Environment="LC_ALL=C.UTF-8"
|
||||
Environment="LANG=C.UTF-8"
|
||||
Type=simple
|
||||
Type=exec
|
||||
User=pi
|
||||
ExecStart=/home/pi/OctoPrint/venv/bin/octoprint
|
||||
|
||||
|
||||
Reference in new issue
Block a user