blob: 4a8762619080b6d14cbb5e3b5624e23388ed72b2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/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_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
|