From c78924776e5d9d6c2779877e9f0b98cb28e0ea35 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Wed, 13 Jul 2016 17:33:49 +0200 Subject: [PATCH] add db seed --- rootfs/etc/confd/templates/config.inc.php.tmpl | 3 ++- rootfs/etc/rsyslog.conf | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rootfs/etc/confd/templates/config.inc.php.tmpl b/rootfs/etc/confd/templates/config.inc.php.tmpl index fbf2c88..32b31ad 100644 --- a/rootfs/etc/confd/templates/config.inc.php.tmpl +++ b/rootfs/etc/confd/templates/config.inc.php.tmpl @@ -2,8 +2,9 @@ $config = array(); -$config['db_dsnw'] = 'pgsql://{{getenv "DBUSER"}}:{{getenv "DBPASSWORD"}}@{{getenv "DBHOST"}}/DBNAME'; +$config['db_dsnw'] = 'pgsql://{{getenv "DBUSER"}}:{{getenv "DBPASSWORD"}}@{{getenv "DBHOST"}}/{{getenv "DBNAME"}}'; $config['log_driver'] = 'syslog'; +$config['syslog_id'] = 'mail'; $config['default_host'] = '{{getenv "IMAPHOST"}}'; diff --git a/rootfs/etc/rsyslog.conf b/rootfs/etc/rsyslog.conf index 994aef9..6faafe2 100644 --- a/rootfs/etc/rsyslog.conf +++ b/rootfs/etc/rsyslog.conf @@ -26,7 +26,6 @@ authpriv.* action(type="omfile" fil # Log all the mail messages in one place. mail.* action(type="omfile" file="/dev/console") -roundcube.* action(type="omfile" file="/dev/console") # Log cron stuff cron.* action(type="omfile" file="/var/log/cron")