fix(package): sentinèlla: probe — use socat EXEC pipes to avoid pty CR/LF mangling

This commit is contained in:
2026-04-27 13:34:52 +00:00
parent 0dfbee6472
commit 7268ec3704
2 changed files with 4 additions and 5 deletions

View File

@@ -16,8 +16,10 @@ let
probe = hectic.writeShellApplication {
inherit shell bashOptions;
name = "probe";
runtimeInputs = [ socat dash router ];
text = builtins.readFile ./probe.sh;
runtimeInputs = [ socat ];
text = ''
socat -T5 -t5 TCP-LISTEN:"''${PORT:-5988}",reuseaddr,fork EXEC:"${router}/bin/router",pipes
'';
};
router = hectic.writeShellApplication {