aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
m---------contrib/gana0
m---------contrib/wallet-core0
-rwxr-xr-xdebian/rules1
-rw-r--r--debian/taler-exchange.postinst5
-rw-r--r--debian/taler-exchange.postrm2
5 files changed, 8 insertions, 0 deletions
diff --git a/contrib/gana b/contrib/gana
-Subproject 0ff4edfe76be77a59d4ebff5031feb50f3ba07d
+Subproject 9eddc2cf7b65bb43d285c75ef22fd9bc9cc7020
diff --git a/contrib/wallet-core b/contrib/wallet-core
-Subproject 496bfdc3aecbea61922bb2e0c281f5d35f934a3
+Subproject a675c94085cfa90052c9ebacd2cebccfab2c4f1
diff --git a/debian/rules b/debian/rules
index aef4bf5f8..b957c81ac 100755
--- a/debian/rules
+++ b/debian/rules
@@ -38,6 +38,7 @@ override_dh_installsystemd:
# and dh_installsystemd by default only looks for "<package>.service".
dh_installsystemd -ptaler-exchange --name=taler-exchange-httpd --no-start --no-enable
dh_installsystemd -ptaler-exchange --name=taler-exchange-aggregator --no-start --no-enable
+ dh_installsystemd -ptaler-exchange --name=taler-exchange-expire --no-start --no-enable
dh_installsystemd -ptaler-exchange --name=taler-exchange-transfer --no-start --no-enable
dh_installsystemd -ptaler-exchange --name=taler-exchange-wirewatch --no-start --no-enable
dh_installsystemd -ptaler-exchange --name=taler-exchange-secmod-cs --no-start --no-enable
diff --git a/debian/taler-exchange.postinst b/debian/taler-exchange.postinst
index 6278dac1f..7509a7749 100644
--- a/debian/taler-exchange.postinst
+++ b/debian/taler-exchange.postinst
@@ -13,6 +13,7 @@ _CSECUSERNAME=taler-exchange-secmod-cs
_RSECUSERNAME=taler-exchange-secmod-rsa
_ESECUSERNAME=taler-exchange-secmod-eddsa
_AGGRUSERNAME=taler-exchange-aggregator
+_EXPIUSERNAME=taler-exchange-expire
_WIREUSERNAME=taler-exchange-wire
case "${1}" in
@@ -53,6 +54,10 @@ configure)
adduser --quiet --system --no-create-home --home ${TALER_HOME} ${_AGGRUSERNAME}
adduser --quiet ${_AGGRUSERNAME} ${_DBGROUPNAME}
fi
+ if ! getent passwd ${_EXPIUSERNAME} >/dev/null; then
+ adduser --quiet --system --no-create-home --home ${TALER_HOME} ${_EXPIUSERNAME}
+ adduser --quiet ${_EXPIUSERNAME} ${_DBGROUPNAME}
+ fi
if ! dpkg-statoverride --list /etc/taler/secrets/exchange-accountcredentials-1.secret.conf >/dev/null 2>&1; then
dpkg-statoverride --add --update \
diff --git a/debian/taler-exchange.postrm b/debian/taler-exchange.postrm
index 9edf548a5..fcde84b58 100644
--- a/debian/taler-exchange.postrm
+++ b/debian/taler-exchange.postrm
@@ -10,6 +10,7 @@ _CSECUSERNAME=taler-exchange-secmod-cs
_RSECUSERNAME=taler-exchange-secmod-rsa
_ESECUSERNAME=taler-exchange-secmod-eddsa
_AGGRUSERNAME=taler-exchange-aggregator
+_EXPIUSERNAME=taler-exchange-expire
_WIREUSERNAME=taler-exchange-wire
@@ -28,6 +29,7 @@ purge)
deluser --quiet --system ${_RSECUSERNAME} || true
deluser --quiet --system ${_ESECUSERNAME} || true
deluser --quiet --system ${_AGGRUSERNAME} || true
+ deluser --quiet --system ${_EXPIUSERNAME} || true
deluser --quiet --system ${_WIREUSERNAME} || true
deluser --quiet --system ${_CLOSERUSERNAME} || true
deluser --quiet --system ${_EUSERNAME} || true