diff options
author | Konstantin Pavlov <thresh@nginx.com> | 2020-07-13 15:06:26 +0300 |
---|---|---|
committer | Konstantin Pavlov <thresh@nginx.com> | 2020-07-13 15:06:26 +0300 |
commit | 55bac9153b5e5d62cf7beab4cf53b3cec33ea8df (patch) | |
tree | 92dfb0ba5681bb441694c11ffa5ad5a90e5ea7e2 /pkg/docker/docker-entrypoint.sh | |
parent | b6792b00aebbe08f0fa3a4cb7826075114f717fa (diff) | |
download | unit-55bac9153b5e5d62cf7beab4cf53b3cec33ea8df.tar.gz unit-55bac9153b5e5d62cf7beab4cf53b3cec33ea8df.tar.bz2 |
Docker: run entrypoint scripts for unitd-debug as well.
Diffstat (limited to '')
-rwxr-xr-x | pkg/docker/docker-entrypoint.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |