Files
addrkit/deploy/addrkitd.service
Maksim Totmin 17ff5c591f refactor!: make addrkit a multi-city address normalizer
- remove the events/outages module, ArcGIS adapter, portal config and event statuses
- add a configurable city dictionary/parser and make City part of StreetKey
- seed: read city/city_name, namespace IDs by city, keep structures distinct
- fix reliability: schema v2 with fail-closed load, deterministic ordering,
  input limits, config validation, atomic DB publish, LLM response caps
- add read-only shadow mode comparing the old ES path with addrkit
- breaking: registry.db must be re-seeded; config has no portal section
2026-10-27 14:35:51 +07:00

29 lines
692 B
Desktop File

[Unit]
Description=addrkit multi-city address resolution service
Documentation=file:///opt/addrkit/README.md
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
User=lexicom
Group=lexicom
WorkingDirectory=/opt/addrkit
# Environment carries the ${VAR} secrets referenced by config.json.
EnvironmentFile=-/etc/addrkit/env
ExecStart=/opt/addrkit/bin/addrkitd -config /opt/addrkit/config.json
Restart=always
RestartSec=5
# Defence in depth: the service only reads its own directory.
NoNewPrivileges=true
ProtectSystem=strict
ProtectHome=true
PrivateTmp=true
ReadOnlyPaths=/opt/addrkit
StandardOutput=journal
StandardError=journal
[Install]
WantedBy=multi-user.target