From e6bb3b9ce074c1d25b54725454f6bffb80fe9ca7 Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Fri, 19 Jul 2019 18:59:35 +0200 Subject: [PATCH] Tilestache: Use official repository again With newer tilestache in official repo, we do not need our local version any more. Signed-off-by: Adrian Schmutzler --- ffmap/mapnik/dynmapnik.py | 3 --- ffmap/systemd/uwsgi-tiles.service | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/ffmap/mapnik/dynmapnik.py b/ffmap/mapnik/dynmapnik.py index 6ddbb8c..cc08cb5 100644 --- a/ffmap/mapnik/dynmapnik.py +++ b/ffmap/mapnik/dynmapnik.py @@ -1,8 +1,5 @@ #!/usr/bin/python3 -import sys -sys.path.insert(0,'/data/fff/TileStache') - import os import logging import TileStache diff --git a/ffmap/systemd/uwsgi-tiles.service b/ffmap/systemd/uwsgi-tiles.service index 63ab37c..4747783 100644 --- a/ffmap/systemd/uwsgi-tiles.service +++ b/ffmap/systemd/uwsgi-tiles.service @@ -3,7 +3,7 @@ Description=FF-MAP Tiles After=syslog.target [Service] -ExecStart=/usr/bin/uwsgi_python3 -s 127.0.0.1:3032 --eval 'import sys; sys.path.insert(0,"/data/fff/TileStache"); import TileStache; application = TileStache.WSGITileServer("/usr/share/ffmap/tilestache.cfg")' --master --processes 4 --uid www-data --gid www-data --enable-threads --disable-logging --log-4xx --log-5xx +ExecStart=/usr/bin/uwsgi_python3 -s 127.0.0.1:3032 --eval 'import TileStache; application = TileStache.WSGITileServer("/usr/share/ffmap/tilestache.cfg")' --master --processes 4 --uid www-data --gid www-data --enable-threads --disable-logging --log-4xx --log-5xx Restart=always KillSignal=SIGQUIT Type=notify