correct generate_tiles command: adding compilation of style

This commit is contained in:
nobohan 2023-06-29 08:59:37 +02:00
parent b994c64d6b
commit a62a10552b

4
run.sh
View File

@ -224,12 +224,16 @@ fi
if [ "$1" == "generate_tiles" ]; then if [ "$1" == "generate_tiles" ]; then
compileStyle
service postgresql start service postgresql start
service apache2 restart service apache2 restart
sudo -u renderer renderd -c /etc/renderd.conf sudo -u renderer renderd -c /etc/renderd.conf
cat /data/tiles/cyclosm/tiles.list | render_list --map cyclosm cat /data/tiles/cyclosm/tiles.list | render_list --map cyclosm
bash
fi fi
echo "invalid command" echo "invalid command"