diff options
author | Florian Dold <florian@dold.me> | 2021-07-27 16:53:02 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-07-27 16:53:02 +0200 |
commit | e80b1db566584a3088d67c321a3978cbcb81173b (patch) | |
tree | 62a6833169e5f8409f718d3fa7785f30499b7483 /debian | |
parent | c5d579c9be08b07c89c9f326bf635c1f524d55d7 (diff) | |
download | exchange-e80b1db566584a3088d67c321a3978cbcb81173b.tar.xz |
debian: add taler-exchange-closer user
Diffstat (limited to 'debian')
-rw-r--r-- | debian/taler-exchange.postinst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/debian/taler-exchange.postinst b/debian/taler-exchange.postinst index ae7336183..67672bde0 100644 --- a/debian/taler-exchange.postinst +++ b/debian/taler-exchange.postinst @@ -9,6 +9,7 @@ CONFIG_FILE="/etc/default/taler-exchange" _GROUPNAME=taler-exchange-secmod _DBGROUPNAME=taler-exchange-db _EUSERNAME=taler-exchange-httpd +_CLOSERUSERNAME=taler-exchange-closer _RSECUSERNAME=taler-exchange-secmod-rsa _ESECUSERNAME=taler-exchange-secmod-eddsa _AGGRUSERNAME=taler-exchange-aggregator @@ -56,6 +57,10 @@ configure) adduser --quiet --system --home ${TALER_HOME}/wire ${_WIREUSERNAME} adduser --quiet ${_WIREUSERNAME} ${_DBGROUPNAME} fi + if ! getent passwd ${_CLOSERUSERNAME} >/dev/null; then + adduser --quiet --system --home ${TALER_HOME}/closer ${_CLOSERUSERNAME} + adduser --quiet ${_CLOSERUSERNAME} ${_DBGROUPNAME} + fi if ! getent passwd ${_AGGRUSERNAME} >/dev/null; then adduser --quiet --system --home ${TALER_HOME}/aggregator ${_AGGRUSERNAME} adduser --quiet ${_AGGRUSERNAME} ${_DBGROUPNAME} @@ -68,6 +73,7 @@ configure) lncfg ${_RSECUSERNAME} secmod-rsa /etc/taler/exchange-service-default.conf lncfg ${_ESECUSERNAME} secmod-eddsa /etc/taler/exchange-service-default.conf lncfg ${_AGGRUSERNAME} aggregator /etc/taler/exchange-service-default.conf + lncfg ${_CLOSERUSERNAME} closer /etc/taler/exchange-service-default.conf lncfg ${_WIREUSERNAME} wire /etc/taler/exchange-service-wire.conf ;; |