Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

#245 Pass environment variables to all sudo commands #308

Merged
merged 1 commit into from
Mar 17, 2022
Merged

#245 Pass environment variables to all sudo commands #308

merged 1 commit into from
Mar 17, 2022

Conversation

mausch
Copy link
Contributor

@mausch mausch commented Mar 17, 2022

Not just "nominatim import"
This enables passing NOMINATIM_DATABASE_DSN

In practice users still have to pass PGDATABASE and the rest of the standard psql env vars separately.
To avoid that the bash script would have to parse NOMINATIM_DATABASE_DSN into the standard Postgres env vars.

Not just "nominatim import"
This enables passing NOMINATIM_DATABASE_DSN
@mausch
Copy link
Contributor Author

mausch commented Mar 17, 2022

It just occurred to me that you might want to apply this to other versions too? I'm new to Nominatim so no idea if previous versions have similar env vars.

@leonardehrenfried
Copy link
Collaborator

I you want to do it you can, but we won't force you.

I personally only fix stuff in the newest version.

@leonardehrenfried
Copy link
Collaborator

Seems that the Geofabrik download server is having some outage today. https://download.geofabrik.de/europe/monaco-220313.osm.pbf times out and hence CI fails.

I will recheck tomorrow.

@leonardehrenfried leonardehrenfried merged commit 2a43ad7 into mediagis:master Mar 17, 2022
@leonardehrenfried
Copy link
Collaborator

Thanks for the contribution!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants