summaryrefslogtreecommitdiff
path: root/map-server/altos-mapd/altos-mapd.service
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2018-10-07 16:28:32 -0600
committerKeith Packard <keithp@keithp.com>2018-10-07 15:32:17 -0700
commit746ad2c385046c77831b43291ef4335a11e5bfab (patch)
tree3024c23579a5a612f834457cbd188dfb77101194 /map-server/altos-mapd/altos-mapd.service
parent7f5cdd0aeb68104f474ad1736360df39dd174006 (diff)
altos-mapd: Add --max-zoom to limit tile loading. Set default to 15.
This ensures that we won't end up serving huge numbers of high resolution images. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'map-server/altos-mapd/altos-mapd.service')
-rw-r--r--map-server/altos-mapd/altos-mapd.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/map-server/altos-mapd/altos-mapd.service b/map-server/altos-mapd/altos-mapd.service
index d6f01da1..ba263c2a 100644
--- a/map-server/altos-mapd/altos-mapd.service
+++ b/map-server/altos-mapd/altos-mapd.service
@@ -8,7 +8,7 @@ Type=simple
User=altos-mapd
Restart=always
EnvironmentFile=/etc/default/altos-mapd-default
-ExecStart=/usr/bin/altos-mapd --key $MAPKEY --mapdir $MAPDIR --launch-sites $LAUNCHSITES
+ExecStart=/usr/bin/altos-mapd --key $MAPKEY --mapdir $MAPDIR --launch-sites $LAUNCHSITES --max-zoom $MAXZOOM
[Install]
WantedBy=multi-user.target