From 09842c1f7e851053ef4418c598cd571918969a1d Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Sat, 27 Mar 2021 05:28:54 -0400 Subject: [PATCH] autocreate logs dir --- bin/docker_entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/docker_entrypoint.sh b/bin/docker_entrypoint.sh index c924e788..0d61337b 100755 --- a/bin/docker_entrypoint.sh +++ b/bin/docker_entrypoint.sh @@ -23,7 +23,7 @@ if [[ -d "$DATA_DIR/archive" ]]; then fi else # create data directory - mkdir -p "$DATA_DIR" + mkdir -p "$DATA_DIR/logs" chown -R $ARCHIVEBOX_USER:$ARCHIVEBOX_USER "$DATA_DIR" fi chown $ARCHIVEBOX_USER:$ARCHIVEBOX_USER "$DATA_DIR"