mirror of
https://gitlab.com/famedly/conduit.git
synced 2024-11-26 19:22:29 +00:00
Change the default library path (follows DEPLOY.md)
This commit is contained in:
parent
5bf43a4d7e
commit
f3b1096417
4
debian/postinst
vendored
4
debian/postinst
vendored
@ -5,7 +5,7 @@ set -e
|
|||||||
|
|
||||||
CONDUIT_CONFIG_PATH=/etc/matrix-conduit
|
CONDUIT_CONFIG_PATH=/etc/matrix-conduit
|
||||||
CONDUIT_CONFIG_FILE="${CONDUIT_CONFIG_PATH}/conduit.toml"
|
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
|
case "$1" in
|
||||||
configure)
|
configure)
|
||||||
@ -13,7 +13,7 @@ case "$1" in
|
|||||||
if ! getent passwd _matrix-conduit > /dev/null ; then
|
if ! getent passwd _matrix-conduit > /dev/null ; then
|
||||||
echo 'Adding system user for the Conduit Matrix homeserver' 1>&2
|
echo 'Adding system user for the Conduit Matrix homeserver' 1>&2
|
||||||
adduser --system --group --quiet \
|
adduser --system --group --quiet \
|
||||||
--home $CONDUIT_DATABASE_PATH \
|
--home "$CONDUIT_DATABASE_PATH" \
|
||||||
--disabled-login \
|
--disabled-login \
|
||||||
--force-badname \
|
--force-badname \
|
||||||
_matrix-conduit
|
_matrix-conduit
|
||||||
|
Loading…
Reference in New Issue
Block a user