summaryrefslogtreecommitdiff
path: root/debian/taler-merchant.config
blob: da0b34b2d9ff2c2ad12c9fbea7c0c7ffd8f299bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

set -e

. /usr/share/debconf/confmodule

_USERNAME=taler-merchant-httpd
_GROUPNAME=www-data

# For now, we only support postgres
dbc_dbtypes=pgsql
dbc_dbuser=${_USERNAME}
dbc_first_version="0.9.0"

dbc_authmethod_user=ident
dbc_authmethod_admin=ident

if [ -f /usr/share/dbconfig-common/dpkg/config.pgsql ]; then
    . /usr/share/dbconfig-common/dpkg/config.pgsql
    dbc_go taler-merchant "$@"
fi

db_stop