From 21684f55e9c82a16f0969e8fcec206ac5f13a11f Mon Sep 17 00:00:00 2001 From: casjay Date: Thu, 9 Jan 2025 03:33:43 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=83=EF=B8=8F=20Committing=20everything?= =?UTF-8?q?=20that=20changed=20=F0=9F=97=83=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit rootfs/usr/local/etc/docker/init.d/03-tor-server.sh --- rootfs/usr/local/etc/docker/init.d/03-tor-server.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rootfs/usr/local/etc/docker/init.d/03-tor-server.sh b/rootfs/usr/local/etc/docker/init.d/03-tor-server.sh index 9f7bc4f..539ab27 100755 --- a/rootfs/usr/local/etc/docker/init.d/03-tor-server.sh +++ b/rootfs/usr/local/etc/docker/init.d/03-tor-server.sh @@ -354,7 +354,11 @@ __post_execute() { ( # commands to execute while :; do - pgrep -q unbound && break || sleep 30 + if pgrep unbound >/dev/null 2>&1;then + break + else + sleep 30 + fi done # show message __banner "$postMessageST"