feat(package): server-health: created
This commit is contained in:
4
package/server-health/default.nix
Normal file
4
package/server-health/default.nix
Normal 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}"
|
||||
''
|
||||
Reference in New Issue
Block a user