mirror of https://github.com/watcha-fr/synapse
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
487 B
17 lines
487 B
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
# shellcheck disable=SC1091
|
|
. /usr/share/debconf/confmodule
|
|
|
|
# try to update the debconf db according to whatever is in the config files
|
|
#
|
|
# note that we may get run during preconfiguration, in which case the script
|
|
# will not yet be installed.
|
|
[ -x /opt/venvs/matrix-synapse/lib/manage_debconf.pl ] && \
|
|
/opt/venvs/matrix-synapse/lib/manage_debconf.pl read
|
|
|
|
db_input high matrix-synapse/server-name || true
|
|
db_input high matrix-synapse/report-stats || true
|
|
db_go
|
|
|