]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl add fv_write_path to default configuration
authorEric Bollengier <eric@eb.homelinux.org>
Tue, 2 Jan 2007 10:30:16 +0000 (10:30 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Tue, 2 Jan 2007 10:30:16 +0000 (10:30 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3900 91ce42f0-d328-0410-95d8-f526ca767f89

gui/debian/bweb.postinst

index 86f646d37681a4e0df40becdb46484c7b42244a9..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,8 +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
- echo "You have to reload your apache configuration"
- echo "You can use user/passwd by editing /etc/apache/conf.d/bweb.conf"
 fi