From 516abe39e3bb88de7da6ea1274ff328cc9c58823 Mon Sep 17 00:00:00 2001 From: colin Date: Wed, 14 Feb 2024 22:27:23 +0000 Subject: [PATCH] Add entrypoint.sh --- entrypoint.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 entrypoint.sh diff --git a/entrypoint.sh b/entrypoint.sh new file mode 100644 index 0000000..16d3443 --- /dev/null +++ b/entrypoint.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +if [ ! -f "/etc/wireguard/wg0.conf" ]; then + /usr/local/bin/setup-wireguard.sh +fi + +wg-quick up wg0 +exec tail -f /dev/null \ No newline at end of file