diff --git a/.changelogs/1.1.2/137_fix_systemd_unit_file.yml b/.changelogs/1.1.2/137_fix_systemd_unit_file.yml new file mode 100644 index 0000000..0a248e0 --- /dev/null +++ b/.changelogs/1.1.2/137_fix_systemd_unit_file.yml @@ -0,0 +1,2 @@ +fixed: + - Fix systemd unit file to run after network on non PVE nodes (by @robertdahlem) [#137] diff --git a/service/proxlb.service b/service/proxlb.service index 57b0e33..43fb353 100644 --- a/service/proxlb.service +++ b/service/proxlb.service @@ -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 \ No newline at end of file +WantedBy=multi-user.target