summaryrefslogtreecommitdiff
path: root/ci/docker/healthcheck.sh
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2022-08-09 16:23:19 +0200
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2022-08-09 16:23:19 +0200
commit93a95d4be4d754a901ab42a8174ae0e725680a01 (patch)
tree914b9e0699cb3107cbfde7fcf86798a6624883cc /ci/docker/healthcheck.sh
parent9abd93ee4d6345967c1b5aa1b220a5c2bd4b1f01 (diff)
Docker: Run without a systemctl helper script
Diffstat (limited to 'ci/docker/healthcheck.sh')
-rwxr-xr-xci/docker/healthcheck.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/ci/docker/healthcheck.sh b/ci/docker/healthcheck.sh
new file mode 100755
index 0000000..a6bbc0d
--- /dev/null
+++ b/ci/docker/healthcheck.sh
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+
+# Check if wg show has any output
+output_wg="$(wg show)"
+[[ -n $output_wg ]]