$OpenBSD: patch-application_config_ini,v 1.2 2011/07/28 09:24:35 ajacoutot Exp $ --- application/config.ini.orig Wed May 11 10:20:56 2011 +++ application/config.ini Thu Jul 28 10:47:40 2011 @@ -5,25 +5,25 @@ [general] ;; supported adapters : PDO_MYSQL, PDO_PGSQL, PDO_SQLITE -db.adapter = PDO_MYSQL +db.adapter = PDO_PGSQL db.config.host = localhost -db.config.username = root +db.config.username = postgres db.config.password = db.config.dbname = bacula -;; for Sqlite db.config.dbname = "/full patch/bacula.db" +;; for Sqlite db.config.dbname = "/full_path_to/bacula.db" ;; see http://www.php.net/timezones ; def.timezone = "UTC" -def.timezone = "Europe/Minsk" +def.timezone = "Europe/London" ;; if locale undefined, webacula use autodetect ;; avaliable locales : en, cs, de, fr, pt_BR, ru, it, es ; locale = "en" ;; see INSTALL file for details -bacula.sudo = "/usr/bin/sudo" -bacula.bconsole = "/sbin/bconsole" -bacula.bconsolecmd = "-n -c /etc/bacula/bconsole.conf" +bacula.sudo = "" +bacula.bconsole = "${LOCALBASE}/sbin/bconsole" +bacula.bconsolecmd = "-n -c ${SYSCONFDIR}/bacula/bconsole.conf" ;; time to live data (session and temporary data tables) for restore files (sec) ; default = 1h @@ -62,7 +62,7 @@ fontsize = 10 [webacula] email.to_admin = root@localhost -email.from = webacula@localhost +email.from = root@localhost