Docker: run entrypoint scripts for unitd-debug as well.
This commit is contained in:
@@ -18,7 +18,7 @@ curl_put()
|
|||||||
return 0
|
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
|
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..."
|
echo "$0: /var/lib/unit/ is not empty, skipping initial configuration..."
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user