debian: add taler-exchange-closer user
This commit is contained in:
parent
c5d579c9be
commit
e80b1db566
6
debian/taler-exchange.postinst
vendored
6
debian/taler-exchange.postinst
vendored
@ -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
|
||||
;;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user