feat(package): sentinèlla: add auth
This commit is contained in:
10
package/sentinèlla/default.nix
Normal file
10
package/sentinèlla/default.nix
Normal file
@@ -0,0 +1,10 @@
|
||||
{ writeShellScriptBin, socat, dash }:
|
||||
writeShellScriptBin "server-health" ''
|
||||
set +a
|
||||
LOOP_FILE=${./probe-loop.sh}
|
||||
socat() { ${socat}/bin/socat $@ }
|
||||
dash() { ${dash}/bin/dash $@ }
|
||||
set -a
|
||||
|
||||
${dash}/bin/dash ${./probe.sh}
|
||||
''
|
||||
Reference in New Issue
Block a user