From 3d642a7404d6a81f17d38bb270c88cd57ab72db8 Mon Sep 17 00:00:00 2001 From: gyptazy Date: Mon, 24 Mar 2025 18:15:11 +0100 Subject: [PATCH] fix: Fix the systemd unit file to start after the pveproxy daemon Fixes: #137 --- .changelogs/1.1.0/137_fix_systemd_unit_file.yml | 2 ++ service/proxlb.service | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 .changelogs/1.1.0/137_fix_systemd_unit_file.yml diff --git a/.changelogs/1.1.0/137_fix_systemd_unit_file.yml b/.changelogs/1.1.0/137_fix_systemd_unit_file.yml new file mode 100644 index 0000000..64dcebb --- /dev/null +++ b/.changelogs/1.1.0/137_fix_systemd_unit_file.yml @@ -0,0 +1,2 @@ +fixed: + - Fix the systemd unit file to start ProxLB after pveproxy (by @robertdahlem). [#137] diff --git a/service/proxlb.service b/service/proxlb.service index 9d44bd1..57b0e33 100644 --- a/service/proxlb.service +++ b/service/proxlb.service @@ -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 \ No newline at end of file