Update service file to use /opt/zmb-webui paths

zmb-webui is the new naming convention - update all paths accordingly.

Co-Authored-By: Patrick <patrick@perlbach24.de>
This commit is contained in:
2026-04-22 01:14:32 +02:00
parent a376e9e0c9
commit 249b060400
+4 -4
View File
@@ -5,12 +5,12 @@ After=network.target
[Service] [Service]
Type=simple Type=simple
User=root User=root
WorkingDirectory=/opt/zfs-manager/backend WorkingDirectory=/opt/zmb-webui/backend
Environment="PATH=/opt/zfs-manager/venv/bin" Environment="PATH=/opt/zmb-webui/venv/bin"
Environment="PYTHONUNBUFFERED=1" Environment="PYTHONUNBUFFERED=1"
Environment="PYTHONDONTWRITEBYTECODE=1" Environment="PYTHONDONTWRITEBYTECODE=1"
ExecStart=/opt/zfs-manager/venv/bin/python -m uvicorn main:app \ ExecStart=/opt/zmb-webui/venv/bin/python -m uvicorn main:app \
--host 0.0.0.0 \ --host 0.0.0.0 \
--port 8000 --port 8000
@@ -20,7 +20,7 @@ StandardOutput=journal
StandardError=journal StandardError=journal
SyslogIdentifier=zmb-webui-backend SyslogIdentifier=zmb-webui-backend
ReadWritePaths=/opt/zfs-manager/backend ReadWritePaths=/opt/zmb-webui/backend
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target