fix: recognize owned Guacamole IPv6 forward

This commit is contained in:
2026-09-14 06:46:21 +00:00
parent 102a5486f4
commit cbd3f40523
+3
View File
@@ -191,6 +191,9 @@ start_ipv6_forward() {
printf 'rdp-access: warning: socat unavailable; IPv6 forwarding disabled (IPv4 remains active)\n' >&2 printf 'rdp-access: warning: socat unavailable; IPv6 forwarding disabled (IPv4 remains active)\n' >&2
return 0 return 0
fi fi
if [ -f "$ipv6_pid_file" ] && ipv6_process_matches "$(cat "$ipv6_pid_file" 2>/dev/null || true)" && ipv6_listener_active; then
return 0
fi
if ipv6_listener_active; then if ipv6_listener_active; then
# Do not kill an unrelated listener. The operator can inspect it via # Do not kill an unrelated listener. The operator can inspect it via
# status; down only stops a PID that this helper started and verified. # status; down only stops a PID that this helper started and verified.