fix: vpn-router-setup runs on a new installation once libpq can be found.
Release / release (push) Failing after 14m15s

This commit is contained in:
slawek committed 2026-10-28 21:41:52 +01:00
1 parent dd2dfaaf2b
commit 45cea95728
6 files changed
+20 -6

No files matched your search

+4 -2
View File
@@ -71,9 +71,11 @@ case "$1" in
# setting the forward policy all belong to vpn-router-setup, which does
# them only once the configuration says this host is a router.
# The web service waits for libpq in the linker cache, which dpkg
# refreshes after this script, so it is started without waiting for it.
# The setup and web services wait for libpq in the linker cache, which
# dpkg refreshes after this script, so they are started without waiting
# for them.
if [ -d /run/systemd/system ]; then
systemctl --no-block restart vpn-router-setup.service >/dev/null 2>&1 || true
systemctl --no-block restart vpn-router-web.service >/dev/null 2>&1 || true
fi
;;