feat(package): server-health: created

This commit is contained in:
2025-08-23 15:16:15 +00:00
parent bb16555d4f
commit 25575a69f3
3 changed files with 78 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
{ writeShellScriptBin, socat, bash }:
writeShellScriptBin "server-health" ''
${socat}/bin/socat -T5 -t5 TCP-LISTEN:''${PORT:-5988},reuseaddr,fork EXEC:"${bash}/bin/sh ${./server-health.sh}"
''