[osm-tile-server] 23/117: Set cache-strategy to sparse to increase likelyhood of success

Ruben Undheim rubund-guest at moszumanska.debian.org
Tue Nov 3 23:18:16 UTC 2015


This is an automated email from the git hooks/post-receive script.

rubund-guest pushed a commit to branch master
in repository osm-tile-server.

commit 298385107b2dec820c6d16be01d47119033de7bc
Author: Ruben Undheim <ruben.undheim at gmail.com>
Date:   Thu Sep 3 01:48:19 2015 +0200

    Set cache-strategy to sparse to increase likelyhood of success
---
 debian/osm-tile-server-config.postinst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/osm-tile-server-config.postinst b/debian/osm-tile-server-config.postinst
index 133a299..b34138c 100644
--- a/debian/osm-tile-server-config.postinst
+++ b/debian/osm-tile-server-config.postinst
@@ -73,7 +73,7 @@ case "$1" in
         fi
    
         if [ "$IMPORTSAMPLE" = "true" ] ; then
-            su $DBUSER -c "osm2pgsql --slim -d $DBNAME -C 100 --hstore -S /usr/share/osm2pgsql/default.style /usr/share/osm-tile-server-base/samples/liechtenstein-latest.osm.pbf"
+            su $DBUSER -c "osm2pgsql --slim -d $DBNAME --cache-strategy sparse -C 100 --hstore -S /usr/share/osm2pgsql/default.style /usr/share/osm-tile-server-base/samples/liechtenstein-latest.osm.pbf"
         fi
         
     ;;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/osm-tile-server.git



More information about the Pkg-grass-devel mailing list