summary refs log tree commit diff
path: root/debian/matrix-synapse-py3.config
diff options
context:
space:
mode:
Diffstat (limited to 'debian/matrix-synapse-py3.config')
-rwxr-xr-xdebian/matrix-synapse-py3.config12
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/matrix-synapse-py3.config b/debian/matrix-synapse-py3.config
new file mode 100755
index 0000000000..3bda3292f1
--- /dev/null
+++ b/debian/matrix-synapse-py3.config
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+set -e
+
+. /usr/share/debconf/confmodule
+
+# try to update the debconf db according to whatever is in the config files
+/opt/venvs/matrix-synapse/lib/manage_debconf.pl read || true
+
+db_input high matrix-synapse/server-name || true
+db_input high matrix-synapse/report-stats || true
+db_go