summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-07-28 21:33:34 +0200
committerFlorian Dold <florian@dold.me>2021-07-28 21:33:44 +0200
commitdae09f1a43b58778b01f4bb436504ee2fe8f5357 (patch)
tree95c641c9a1981948c699c428fbc51940c21c22cf /debian
parentf2b3c4ee72442d0855af1a930231d7092544b7cf (diff)
downloadexchange-dae09f1a43b58778b01f4bb436504ee2fe8f5357.tar.gz
exchange-dae09f1a43b58778b01f4bb436504ee2fe8f5357.tar.bz2
exchange-dae09f1a43b58778b01f4bb436504ee2fe8f5357.zip
debian: no more user config hacks
Diffstat (limited to 'debian')
-rw-r--r--debian/taler-exchange.postinst22
1 files changed, 0 insertions, 22 deletions
diff --git a/debian/taler-exchange.postinst b/debian/taler-exchange.postinst
index 67672bde..18f140f5 100644
--- a/debian/taler-exchange.postinst
+++ b/debian/taler-exchange.postinst
@@ -15,22 +15,6 @@ _ESECUSERNAME=taler-exchange-secmod-eddsa
_AGGRUSERNAME=taler-exchange-aggregator
_WIREUSERNAME=taler-exchange-wire
-# usage: fixperm user:group perms file
-function fixperm() {
- chown "$1" "$3"
- chmod "$2" "$3"
-}
-
-# usage: lncfg user home target
-function lncfg() {
- local cf=$TALER_HOME/$2/.config
- if [ ! -e $cf ]; then
- mkdir $cf
- chown $(stat -L -c %u $TALER_HOME/$2):$(stat -L -c %g $TALER_HOME/$2) $cf
- fi
- ln -sf $3 $cf/taler.conf
-}
-
case "${1}" in
configure)
@@ -69,12 +53,6 @@ configure)
fixperm ${_WIREUSERNAME}:root 460 /etc/taler/exchange-wire-gateway.conf
fixperm root:${_DBGROUPNAME} 640 /etc/taler/exchange-db.conf
- lncfg ${_EUSERNAME} httpd /etc/taler/exchange-service-default.conf
- 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
;;
abort-upgrade | abort-remove | abort-deconfigure) ;;