5
echo "Do not forget to create a PostgreSQL or MySQL database and edit /etc/graphite/settings.py"
6
chown graphite /var/log/graphite/webapp
7
# initialize graphite database with essential data. syncdb will only
8
# create tables for models which have not yet been installed. It will
9
# never issue ALTER TABLE statements to match changes made to a model
10
# class after installation.
12
#update-python-modules -p graphite.public
13
#su www-data -p -c "django-admin syncdb --pythonpath=/usr/lib/pymodules/python2.6 --settings graphite.settings --noinput"
15
# override file permissions in /var/lib/graphite
17
#for i in `find /var/lib/graphite -maxdepth 2 -type d` ; do
18
# only do something when no setting exists
19
#if ! dpkg-statoverride --list $i >/dev/null 2>&1
21
#dpkg-statoverride --update --add www-data www-data 4755 $i
26
abort-upgrade|abort-remove|abort-deconfigure)
30
echo "postinst called with unknown argument \`$1'" >&2