correct default database path to /var/lib/conduwuit

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-05-15 11:53:30 -04:00 committed by June
parent 81d2078cdb
commit c64a507691
4 changed files with 11 additions and 7 deletions

3
debian/postinst vendored
View file

@ -25,6 +25,9 @@ case "$1" in
# and permissions for the config.
mkdir -v -p "$CONDUWUIT_DATABASE_PATH"
# symlink the previous location for compatibility
ln -s -v "$CONDUWUIT_DATABASE_PATH" "/var/lib/matrix-conduit"
chown -v conduwuit:conduwuit -R "$CONDUWUIT_DATABASE_PATH"
chown -v conduwuit:conduwuit -R "$CONDUWUIT_CONFIG_PATH"
chown -v conduwuit:conduwuit -R "$CONDUWUIT_CONFIG_FILE"