fix: Fix the systemd unit file to start after the pveproxy daemon

Fixes: #137
This commit is contained in:
gyptazy
2025-03-24 18:15:11 +01:00
parent cf15866270
commit 3d642a7404
2 changed files with 5 additions and 3 deletions

View File

@@ -0,0 +1,2 @@
fixed:
- Fix the systemd unit file to start ProxLB after pveproxy (by @robertdahlem). [#137]

View File

@@ -1,11 +1,11 @@
[Unit]
Description=ProxLB - A loadbalancer for Proxmox clusters
After=network-online.target
Wants=network-online.target
After=pveproxy.service
Wants=pveproxy.service
[Service]
ExecStart=python3 /usr/lib/python3/dist-packages/proxlb/main.py -c /etc/proxlb/proxlb.yaml
User=plb
[Install]
WantedBy=multi-user.target
WantedBy=multi-user.target