aboutsummaryrefslogtreecommitdiff
path: root/debian/taler-exchange.postinst
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-12-31 23:09:12 +0100
committerChristian Grothoff <christian@grothoff.org>2020-12-31 23:09:12 +0100
commit53abae740398634db9ec4685ac6b9016cb5642f3 (patch)
treedb2824e3b2d55a192ae9c9afd847deb2318cffda /debian/taler-exchange.postinst
parent5bc3a5f9e243b08aa9cc75471e40c547fb0f35b2 (diff)
downloadexchange-53abae740398634db9ec4685ac6b9016cb5642f3.tar.xz
setup better paths, use Debian-specific systemd clean up logic instead of hacking around manually, improve README
Diffstat (limited to 'debian/taler-exchange.postinst')
-rw-r--r--debian/taler-exchange.postinst5
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/taler-exchange.postinst b/debian/taler-exchange.postinst
index 0898f6ac5..cfaf04a45 100644
--- a/debian/taler-exchange.postinst
+++ b/debian/taler-exchange.postinst
@@ -179,6 +179,11 @@ EOF
cp -f "${CONFIG_NEW}" "${CONFIG_FILE}"
echo " done."
+ mkdir -p /var/lib/taler-exchange/tmp
+ chown root:taler /var/lib/taler-exchange/tmp
+ chmod 770 /var/lib/taler-exchange/tmp
+ chmod +s /var/lib/taler-exchange/tmp
+
# Cleaning
rm -f "${CONFIG_NEW}"
echo "All done."