Kumi
e3f5293ebc
Introduce a complete setup for the Overpass API on Debian. Add necessary scripts and configuration files to automate the installation and configuration process, including setting up Apache and creating systemd services for automatic startup. - Add an example Apache configuration file. - Implement a Debian installation script for the Overpass API. - Create a systemd service and timer for monitoring Overpass OSC and restart if no output is detected. - Set up additional systemd services for Overpass processes to ensure continuous operations. This setup simplifies deployment and enhances reliability by monitoring services and ensuring they restart automatically if needed.
11 lines
No EOL
358 B
Desktop File
11 lines
No EOL
358 B
Desktop File
[Service]
|
|
User = osm
|
|
Group = osm
|
|
WorkingDirectory = /opt/osm/
|
|
ExecStartPre=/bin/sh -c "rm -f /opt/osm/db/osm*_base || true"
|
|
ExecStartPre=/bin/sh -c "rm -f /dev/shm/osm*_base || true"
|
|
ExecStart=/opt/osm/bin/dispatcher --osm-base --attic --db-dir=/opt/osm/db --rate-limit=-1 --allow-duplicate-queries=yes
|
|
LimitNOFILE=10000
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |