4 . /usr/share/debconf/confmodule
8 if [ "$1" = "configure" ] ; then
9 if [ -f /etc/bweb/config ] ; then
10 echo "WARNING: /etc/bweb/config is no longer in use."
11 echo "Please, use /etc/bacula/bweb.conf instead."
14 chown www-data:root /etc/bacula/bweb.conf
15 chmod 600 /etc/bacula/bweb.conf
17 chown www-data:root /var/spool/bweb
18 chmod 700 /var/spool/bweb
21 echo "If you are using postgresql, you have to load /usr/share/bweb/bweb-postgresql.sql in your database"
23 echo "postgres@localhost:~$ psql bacula < /usr/share/bweb/bweb-postgresql.sql"
25 echo "You can use user/passwd (see /etc/apache/conf.d/bweb.conf)"
26 echo "You have to reload your apache configuration"