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:
@@ -5,12 +5,12 @@ After=network.target
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
WorkingDirectory=/opt/zfs-manager/backend
|
||||
Environment="PATH=/opt/zfs-manager/venv/bin"
|
||||
WorkingDirectory=/opt/zmb-webui/backend
|
||||
Environment="PATH=/opt/zmb-webui/venv/bin"
|
||||
Environment="PYTHONUNBUFFERED=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 \
|
||||
--port 8000
|
||||
|
||||
@@ -20,7 +20,7 @@ StandardOutput=journal
|
||||
StandardError=journal
|
||||
SyslogIdentifier=zmb-webui-backend
|
||||
|
||||
ReadWritePaths=/opt/zfs-manager/backend
|
||||
ReadWritePaths=/opt/zmb-webui/backend
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
Reference in New Issue
Block a user