Update config line

pull/400/head
Dan Mills 3 months ago
parent 462a79fa53
commit fb156fadbe

@ -24,7 +24,7 @@ fi
# Check if filebrowser db exists # Check if filebrowser db exists
if [ ! -f ${DB_PATH} ]; then if [ ! -f ${DB_PATH} ]; then
filebrowser $DB_FLAG config init >> ${LOG_PATH} 2>&1 filebrowser $DB_FLAG config init >> ${LOG_PATH} 2>&1
filebrowser $DB_FLAG config set --baseurl ${SERVER_BASE_PATH} --port ${PORT} --auth.method=noauth --root $ROOT_DIR >> ${LOG_PATH} 2>&1 filebrowser $DB_FLAG config set --baseurl=${SERVER_BASE_PATH} --port=${PORT} --auth.method=noauth --root=$ROOT_DIR >> ${LOG_PATH} 2>&1
filebrowser $DB_FLAG users add admin "" --perm.admin=true >> ${LOG_PATH} 2>&1 filebrowser $DB_FLAG users add admin "" --perm.admin=true >> ${LOG_PATH} 2>&1
fi fi

Loading…
Cancel
Save