summaryrefslogtreecommitdiff
path: root/debian/taler-exchange.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/taler-exchange.postinst')
-rw-r--r--debian/taler-exchange.postinst7
1 files changed, 7 insertions, 0 deletions
diff --git a/debian/taler-exchange.postinst b/debian/taler-exchange.postinst
index e2b2ab310..3ef46bf2b 100644
--- a/debian/taler-exchange.postinst
+++ b/debian/taler-exchange.postinst
@@ -211,6 +211,13 @@ EOF
chmod 770 /var/lib/taler-exchange/tmp
chmod +s /var/lib/taler-exchange/tmp
+ chown ${_WIREUSERNAME}:root /etc/taler-wire.conf
+ chmod 460 /etc/taler-wire.conf
+ chown root:${_DBGROUPNAME} /etc/taler-exchange-db.conf
+ chmod 640 /etc/taler-exchange-db.conf
+ chown ${_EUSERNAME}:${_GROUPNAME} /etc/taler-exchange.conf
+ chmod 460 /etc/taler-wire.conf
+
systemctl daemon-reload
echo "done."