1
0
Fork 0

autocreate logs dir

This commit is contained in:
Nick Sweeting 2021-03-27 05:28:54 -04:00
parent 5568b3b612
commit 09842c1f7e

View file

@ -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"