Update config line

This commit is contained in:
Dan Mills
2025-02-07 17:37:43 -08:00
parent 462a79fa53
commit fb156fadbe

View File

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