From 85bf5e6faa05d14ce00a0885f61af85adc4d2635 Mon Sep 17 00:00:00 2001 From: Maciej Lebiest <68295743+Szwendacz99@users.noreply.github.com> Date: Sun, 6 Aug 2023 13:22:52 +0200 Subject: [PATCH] make wireguard entrypoint do proper interruptible sleep --- wireguard/entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wireguard/entrypoint.sh b/wireguard/entrypoint.sh index 0dbc8e0..ac40755 100644 --- a/wireguard/entrypoint.sh +++ b/wireguard/entrypoint.sh @@ -18,5 +18,5 @@ done wg-quick up /data/wg0.conf -while true; do sleep 5; done - +sleep infinity & +wait $!