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.
15 lines
No EOL
419 B
Desktop File
15 lines
No EOL
419 B
Desktop File
[Unit]
|
|
Description = Overpass Areas
|
|
After = overpass.service
|
|
|
|
[Service]
|
|
User = osm
|
|
Group = nogroup
|
|
WorkingDirectory = /opt/osm/
|
|
ExecStartPre=/bin/sh -c "rm -f /opt/osm/db/osm3s*_areas || true"
|
|
ExecStartPre=/bin/sh -c "rm -f /dev/shm/osm3s*_areas || true"
|
|
ExecStart=/opt/osm/bin/dispatcher --areas --db-dir=/opt/osm/db --rate-limit=-1 --allow-duplicate-queries=yes
|
|
LimitNOFILE=10000
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |