diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2020-01-03 17:14:00 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-03 17:14:00 +0000 |
commit | 08815566bca79d001ad1bf58b2b082e435b6e5df (patch) | |
tree | c60e93d4dddc4431c5cd4e2bf4d6ff9d5a9ef5dc /debian/build_virtualenv | |
parent | Raise an error if someone tries to use the log_file config option (#6626) (diff) | |
download | synapse-08815566bca79d001ad1bf58b2b082e435b6e5df.tar.xz |
Automate generation of the sample and debian log configs (#6627)
Diffstat (limited to 'debian/build_virtualenv')
-rwxr-xr-x | debian/build_virtualenv | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/build_virtualenv b/debian/build_virtualenv index 2791896052..d892fd5c9d 100755 --- a/debian/build_virtualenv +++ b/debian/build_virtualenv @@ -85,6 +85,9 @@ PYTHONPATH="$tmpdir" \ ' > "${PACKAGE_BUILD_DIR}/etc/matrix-synapse/homeserver.yaml" +# build the log config file +"${TARGET_PYTHON}" -B "${VIRTUALENV_DIR}/bin/generate_log_config" \ + --output-file="${PACKAGE_BUILD_DIR}/etc/matrix-synapse/log.yaml" # add a dependency on the right version of python to substvars. PYPKG=`basename $SNAKE` |