Fix Volumio startup and online updates

This commit is contained in:
Mikei386
2026-07-25 12:30:35 +02:00
parent 22444ff5bd
commit 00fb59f643
8 changed files with 264 additions and 22 deletions
+1
View File
@@ -0,0 +1 @@
volumio ALL=(root) NOPASSWD: /usr/bin/systemctl --no-block start phoenix-update-volumio.service
@@ -0,0 +1,15 @@
[Unit]
Description=Apply staged Phoenix update on Volumio
After=local-fs.target
[Service]
Type=oneshot
User=root
Group=root
TimeoutStartSec=30min
Nice=10
IOSchedulingClass=idle
Environment=PHOENIX_INSTALL_PROFILE=volumio
Environment=PHOENIX_UPDATE_DETACHED=1
Environment=PHOENIX_ROOT_OVERRIDE=/home/volumio/Phoenix
ExecStart=/bin/bash /usr/local/libexec/phoenix/restart_phoenix_services.sh