Browse Source

autocreate logs dir

Nick Sweeting 4 years ago
parent
commit
09842c1f7e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bin/docker_entrypoint.sh

+ 1 - 1
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"