autocreate logs dir
This commit is contained in:
parent
5568b3b612
commit
09842c1f7e
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue