Remove ullrich.is / 1.8 TB / hardcoded 'trails' username assumptions from the poi-extract README and service unit; refer to 'the pipeline user' and $USER / %h instead so the docs serve self-hosters too. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
23 lines
867 B
Desktop File
23 lines
867 B
Desktop File
# POI extract — one-shot unit driven by poi-extract.timer. Runs as the
|
|
# non-root pipeline user (docker-group rights, no sudo). Install as a user unit:
|
|
# `systemctl --user enable --now poi-extract.timer` with lingering enabled
|
|
# (`loginctl enable-linger "$USER"`), or as a system unit with User=<that user>.
|
|
# See README.md.
|
|
[Unit]
|
|
Description=Filter an OSM PBF to trails.cool POI categories and publish the artifact
|
|
Wants=network-online.target
|
|
After=network-online.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
# %h resolves to the running user's home; adjust if deployed elsewhere.
|
|
WorkingDirectory=%h/brouter/poi-extract
|
|
ExecStart=%h/brouter/poi-extract/poi-extract.sh
|
|
# The planet download + filter is long-running and IO-heavy; give it room and
|
|
# keep it off the box's foreground priority.
|
|
Nice=10
|
|
IOSchedulingClass=idle
|
|
TimeoutStartSec=6h
|
|
|
|
[Install]
|
|
WantedBy=default.target
|