openbsd-ports/www/webacula/patches/patch-application_config_ini

46 lines
1.3 KiB
Plaintext
Raw Normal View History

$OpenBSD: patch-application_config_ini,v 1.3 2012/06/11 08:33:58 ajacoutot Exp $
--- application/config.ini.orig Sat Sep 10 22:22:55 2011
+++ application/config.ini Mon Jun 11 10:33:15 2012
2011-07-28 05:24:35 -04:00
@@ -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 = bacula
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
2011-07-28 05:24:35 -04:00
;; 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"
2011-07-28 05:24:35 -04:00
;; time to live data (session and temporary data tables) for restore files (sec)
; default = 1h
@@ -62,7 +62,7 @@ fontsize = 10
2011-07-28 05:24:35 -04:00
[webacula]
email.to_admin = root@localhost
2011-07-28 05:24:35 -04:00
-email.from = webacula@localhost
+email.from = root@localhost