Fix update system and restart (#77)
* clean code * fix update and restart button, service needs to run as root for the restart to work
This commit is contained in:
@@ -9,8 +9,9 @@ WorkingDirectory=/home/username/git/rpi-mqtt-monitor/
|
||||
StandardOutput=inherit
|
||||
StandardError=inherit
|
||||
Restart=always
|
||||
RestartSec=1
|
||||
RestartSec=5
|
||||
User=YOUR_USER
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
Reference in New Issue
Block a user