Release 0.1.49: self-hosted maps and consented cloud location history

This commit is contained in:
Codex
2026-10-19 00:00:12 +08:00
parent d0b3db7f82
commit a5d2399d2e
58 changed files with 2586 additions and 223 deletions
+24
View File
@@ -0,0 +1,24 @@
[Unit]
Description=ZhaoVision built-in vector basemap
After=network.target
[Service]
Type=simple
User=zhaovision
Group=zhaovision
ExecStart=/opt/zhaovision/tools/pmtiles serve /var/lib/zhaovision/maps --interface=127.0.0.1 --port=8841 --cache-size=32
Restart=on-failure
RestartSec=5
Environment=GOMEMLIMIT=160MiB
MemoryMax=256M
CPUQuota=50%
TasksMax=32
NoNewPrivileges=true
PrivateTmp=true
ProtectHome=true
ProtectSystem=strict
ReadOnlyPaths=/var/lib/zhaovision/maps
UMask=0077
[Install]
WantedBy=multi-user.target