This commit is contained in:
root
2025-10-17 13:37:18 +02:00
commit 6be406c7da
9 changed files with 1437 additions and 0 deletions

18
pve-ha-web.service Normal file
View File

@@ -0,0 +1,18 @@
[Unit]
Description=PVE HA Web Panel
After=network.target
[Service]
Type=simple
WorkingDirectory=/opt/pve-ha-web
Environment="PYTHONUNBUFFERED=1"
# Jeżeli chcesz zdefiniować domyślny node:
# Environment="DEFAULT_NODE=pve1"
ExecStart=/opt/pve-ha-web/venv/bin/gunicorn -w 2 -b 0.0.0.0:8000 app:app
Restart=on-failure
RestartSec=3
User=root
Group=root
[Install]
WantedBy=multi-user.target