feat(package): server-health: created

This commit is contained in:
2025-08-23 15:16:15 +00:00
parent d24df7ad21
commit 13c783bcd2
3 changed files with 78 additions and 0 deletions
+4
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}"
''