fix: Adjust the systemd unit file to run after the network target on non PVE nodes

Fixes: #137
This commit is contained in:
gyptazy
2025-04-26 08:42:24 +02:00
parent 24aa6aabc6
commit 420d669236
2 changed files with 5 additions and 3 deletions

View File

@@ -0,0 +1,2 @@
fixed:
- Fix systemd unit file to run after network on non PVE nodes (by @robertdahlem) [#137]

View File

@@ -1,11 +1,11 @@
[Unit]
Description=ProxLB - A loadbalancer for Proxmox clusters
After=pveproxy.service
Wants=pveproxy.service
After=network-online.target pveproxy.service
Wants=network-online.target 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