drolbr / Overpass-API

A database engine to query the OpenStreetMap data.
http://overpass-api.de
GNU Affero General Public License v3.0
690 stars 90 forks source link

Allow socket location customization via ENV #690

Open Zaczero opened 1 year ago

Zaczero commented 1 year ago

I want to store the data on an SMB share, but I am facing issues with the sockets (osm3s_v0.7.58_areas, osm3s_v0.7.58_osm_base) being inconveniently stored in the db directory. Ideally, db is stored on a share while sockets are stored in the local /run directory.

Error log:

File_Error Operation not permitted 1 /db/db//osm3s_v0.7.58_areas Unix_Socket::4
File_Error Operation not permitted 1 /db/db//osm3s_v0.7.58_osm_base Unix_Socket::4
drolbr commented 1 year ago

Implemented in ec0a66834588c93273f5cc92c53ebeb1b689c2cd

Not yet released.