]> git.sur5r.net Git - bacula/bacula/blobdiff - gui/debian/bweb.postinst
ebl add fv_write_path to default configuration
[bacula/bacula] / gui / debian / bweb.postinst
index 5273dcf66984ffd2a88028ce12ac9fb46582e647..8437eba472416b0ac2feb34d172c4b522a890d49 100644 (file)
@@ -15,7 +15,7 @@ if [ "$1" = "configure" ] ; then
  fi
 
  if [ ! -f /etc/bacula/bweb.conf ] ; then
-       echo '$VAR1 = { template_dir => "/usr/share/bweb/tpl" };' > /etc/bacula/bweb.conf
+       echo '$VAR1 = { template_dir => "/usr/share/bweb/tpl", fv_write_path => "/var/spool/bweb" };' > /etc/bacula/bweb.conf
 
        chown www-data:root /etc/bacula/bweb.conf
        chmod 640 /etc/bacula/bweb.conf
@@ -27,6 +27,8 @@ if [ "$1" = "configure" ] ; then
        echo "If you are using postgresql, you have to load /usr/share/bweb/bweb-postgresql.sql in your database"
 
        echo "postgres@localhost:~$ psql bacula < /usr/share/bweb/bweb-postgresql.sql"
-
+        echo 
+        echo "You can use user/passwd (see /etc/apache/conf.d/bweb.conf)"
+        echo "You have to reload your apache configuration"
  fi
 fi