This commit is contained in:
Mateusz Gruszczyński committed 2026-10-07 09:23:17 +02:00
1 parent cce1081f75
commit 2b8f11ef8c
36 files changed
+1868 -309

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
#!/bin/sh
# pkg upgrade runs the old package pre-deinstall hook before installing the new
# binary. Stop the supervised child first so the upgrade never leaves an old
# RustProxy process running from an unlinked executable. configctl is preferred
# on OPNsense; the rc.d fallback also works while configd is restarting.
if ! /usr/local/sbin/configctl rustproxy stop >/dev/null 2>&1; then
if [ -x /usr/local/etc/rc.d/rustproxy ]; then
/usr/local/etc/rc.d/rustproxy onestop >/dev/null 2>&1 || true
fi
fi
exit 0