Merge pull request #137 from thomasfinstad/fix/135-systemd-service-install-target

fix: systemd service install target
This commit is contained in:
Florian
2025-02-19 08:50:29 +01:00
committed by GitHub
3 changed files with 9 additions and 1 deletions

View File

@@ -0,0 +1,2 @@
fixed:
- Fix systemd service file missing install target and network requirements (by @thomasfinstad). [#135]

View File

@@ -8,7 +8,8 @@ wget https://cdn.gyptazy.ch/files/amd64/debian/proxlb/proxlb_0.9.9_amd64.deb
dpkg -i proxlb_0.9.9_amd64.deb
# Adjust your config
vi /etc/proxlb/proxlb.conf
systemctl restart proxlb
# Enable and start the service
systemctl enable --now proxlb
systemctl status proxlb
```

View File

@@ -1,6 +1,11 @@
[Unit]
Description=ProxLB - Rebalance VM workloads
After=network-online.target
Wants=network-online.target
[Service]
ExecStart=/usr/bin/proxlb -c /etc/proxlb/proxlb.conf
User=plb
[Install]
WantedBy=multi-user.target