diff options
author | Paul van Tilburg <paul@luon.net> | 2021-04-16 22:10:52 +0200 |
---|---|---|
committer | Paul van Tilburg <paul@luon.net> | 2021-04-22 21:52:47 +0200 |
commit | f3b1096417605790c04ce0eb051efb339c0008d1 (patch) | |
tree | 0327bd75cdd0d6fd33646847415d14cabbe123e1 /debian | |
parent | 5bf43a4d7e5861cd9696da79aa26714bd18c8c3c (diff) | |
download | conduit-f3b1096417605790c04ce0eb051efb339c0008d1.zip |
Change the default library path (follows DEPLOY.md)
Diffstat (limited to 'debian')
-rw-r--r-- | debian/postinst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/postinst b/debian/postinst index 4a55930..c3d727c 100644 --- a/debian/postinst +++ b/debian/postinst @@ -5,7 +5,7 @@ set -e CONDUIT_CONFIG_PATH=/etc/matrix-conduit CONDUIT_CONFIG_FILE="${CONDUIT_CONFIG_PATH}/conduit.toml" -CONDUIT_DATABASE_PATH=/var/lib/matrix-conduit +CONDUIT_DATABASE_PATH=/var/lib/matrix-conduit/conduit_db case "$1" in configure) @@ -13,7 +13,7 @@ case "$1" in if ! getent passwd _matrix-conduit > /dev/null ; then echo 'Adding system user for the Conduit Matrix homeserver' 1>&2 adduser --system --group --quiet \ - --home $CONDUIT_DATABASE_PATH \ + --home "$CONDUIT_DATABASE_PATH" \ --disabled-login \ --force-badname \ _matrix-conduit |