push
This commit is contained in:
18
pve-ha-web.service
Normal file
18
pve-ha-web.service
Normal 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
|
Reference in New Issue
Block a user