summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-09-17 11:28:41 +0200
committerChristian Grothoff <christian@grothoff.org>2021-09-17 11:28:41 +0200
commit6c9380144f0d37c2fd3fbc74824918089f2390dd (patch)
tree637068f8fdbac3db7299d7723e78484136cd9a75 /debian
parent960ab5516bdfa9bedc79b7e62fea9fcc4dd3db58 (diff)
downloadsync-6c9380144f0d37c2fd3fbc74824918089f2390dd.tar.gz
sync-6c9380144f0d37c2fd3fbc74824918089f2390dd.tar.bz2
sync-6c9380144f0d37c2fd3fbc74824918089f2390dd.zip
-try to fix Debian package and other issues
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/db/install/pgsql2
-rw-r--r--debian/sync-httpd.config1
2 files changed, 2 insertions, 1 deletions
diff --git a/debian/db/install/pgsql b/debian/db/install/pgsql
index 4695224..f24927b 100755
--- a/debian/db/install/pgsql
+++ b/debian/db/install/pgsql
@@ -13,7 +13,7 @@ if [ -f /etc/dbconfig-common/sync-httpd.conf ]; then
echo -e "# Config file auto-generated by Debian.\n[sync]\nDB=postgres\n\n" > \
$conf_override
# We assume ident auth here. We might support password auth later.
- echo -e "[stasis-postgres]\nCONFIG=postgres:///${dbc_dbname}\n\n" > \
+ echo -e "# Config file auto-generated by Debian.\n[syncdb-postgres]\nCONFIG=postgres:///${dbc_dbname}\n\n" > \
$conf_sync_db
# Allow the taler-merchant-httpd user to create schemas, needed by dbinit
diff --git a/debian/sync-httpd.config b/debian/sync-httpd.config
index 36e67d1..63f7a0a 100644
--- a/debian/sync-httpd.config
+++ b/debian/sync-httpd.config
@@ -10,6 +10,7 @@ _GROUPNAME=www-data
# For now, we only support postgres
dbc_dbtypes=pgsql
dbc_dbuser=${_USERNAME}
+dbc_dbname="sync"
dbc_authmethod_user=ident
dbc_authmethod_admin=ident