Skip to content

Commit

Permalink
Fix permissions for configuration files
Browse files Browse the repository at this point in the history
  • Loading branch information
zebrapurring committed Dec 9, 2024
1 parent f79e872 commit bdd9253
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Scripts/configureimmich.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ set +a
cd "$IMMICH_APP_DIR"
exec node ./dist/main "\$@"
EOF
chmod 700 "$IMMICH_APP_DIR/start.sh"
chmod 755 "$IMMICH_APP_DIR/start.sh"

cat <<EOF > "$IMMICH_APP_DIR/machine-learning/start.sh"
#!/bin/sh
Expand All @@ -42,7 +42,7 @@ exec gunicorn app.main:app \\
--log-config-json log_conf.json \\
--graceful-timeout 0
EOF
chmod 700 "$IMMICH_APP_DIR/machine-learning/start.sh"
chmod 755 "$IMMICH_APP_DIR/machine-learning/start.sh"

if [ ! -f "$IMMICH_SETTINGS_DIR/immich_server.env" ]; then
cp "$IMMICH_SETTINGS_DIR/build_info.env" "$IMMICH_SETTINGS_DIR/immich_server.env"
Expand Down

0 comments on commit bdd9253

Please sign in to comment.