aboutsummaryrefslogtreecommitdiff
path: root/debian/taler-exchange.postinst
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-01-02 14:05:45 +0100
committerChristian Grothoff <christian@grothoff.org>2021-01-02 14:05:45 +0100
commit0e4c82f89738dd4fd0d862d06ae71452722fbb5e (patch)
tree921a2caa2b58f4b8d9f9a1e2219fe94d89fa5606 /debian/taler-exchange.postinst
parent148287954d6d0c73178c4ab1192c3b5a90025b5c (diff)
debian package fixes
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."