From 55bac9153b5e5d62cf7beab4cf53b3cec33ea8df Mon Sep 17 00:00:00 2001 From: Konstantin Pavlov Date: Mon, 13 Jul 2020 15:06:26 +0300 Subject: Docker: run entrypoint scripts for unitd-debug as well. --- pkg/docker/docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/docker/docker-entrypoint.sh') diff --git a/pkg/docker/docker-entrypoint.sh b/pkg/docker/docker-entrypoint.sh index 4ad7cb9a..f455a958 100755 --- a/pkg/docker/docker-entrypoint.sh +++ b/pkg/docker/docker-entrypoint.sh @@ -18,7 +18,7 @@ curl_put() return 0 } -if [ "$1" = "unitd" ]; then +if [ "$1" = "unitd" -o "$1" = "unitd-debug" ]; then if /usr/bin/find "/var/lib/unit/" -mindepth 1 -print -quit 2>/dev/null | /bin/grep -q .; then echo "$0: /var/lib/unit/ is not empty, skipping initial configuration..." else -- cgit