mirror of
https://github.com/openstreetmap/mod_tile.git
synced 2025-08-15 22:18:22 +00:00

This is a patch provided by sletuffe on github: https://github.com/openstreetmap/mod_tile/pull/1
21 lines
368 B
Bash
21 lines
368 B
Bash
#!/bin/sh
|
|
set -e
|
|
|
|
mkdir -p /var/lib/mod_tile
|
|
chown www-data:www-data /var/lib/mod_tile
|
|
|
|
# automatically install munin plugins if munin is present.
|
|
if [ -d /etc/munin/plugins ]
|
|
then
|
|
cd /etc/munin/plugins
|
|
for i in /usr/share/munin/plugins/renderd_*
|
|
do
|
|
if [ ! -h `basename $i` ]
|
|
then
|
|
ln -s $i .
|
|
fi
|
|
done
|
|
fi
|
|
|
|
#DEBHELPER#
|