1
0
Fork 0

Move defaults to vars

This commit is contained in:
Alex Kotov 2020-07-02 18:12:15 +05:00
parent 7eccd4b713
commit b9278457be
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08
2 changed files with 27 additions and 27 deletions

View file

@ -1,31 +1,4 @@
---
matrix__conf_dir: '/etc/matrix'
matrix__opt_dir: '/opt/matrix'
matrix__lib_dir: '/var/lib/matrix'
matrix__log_dir: '/var/log/matrix'
matrix__run_dir: '/var/run/matrix'
matrix__synapse__user: 'matrix-synapse'
matrix__synapse__group: 'matrix-synapse'
matrix__synapse__service: 'matrix-synapse'
matrix__synapse__conf_dir: '{{ matrix__conf_dir }}/synapse'
matrix__synapse__opt_dir: '{{ matrix__opt_dir }}/synapse'
matrix__synapse__lib_dir: '{{ matrix__lib_dir }}/synapse'
matrix__synapse__log_dir: '{{ matrix__log_dir }}/synapse'
matrix__synapse__run_dir: '{{ matrix__run_dir }}/synapse'
matrix__synapse__conf_file: '{{ matrix__synapse__conf_dir }}/config.yml'
matrix__synapse__log_conf_file: '{{ matrix__synapse__conf_dir }}/log_config.yml'
matrix__synapse__key_file: '{{ matrix__synapse__conf_dir }}/signing_key'
matrix__synapse__venv_dir: '{{ matrix__synapse__opt_dir }}/venv'
matrix__synapse__media_dir: '{{ matrix__synapse__lib_dir }}/media_store'
matrix__synapse__db_file: '{{ matrix__synapse__lib_dir }}/homeserver.db'
matrix__synapse__log_file: '{{ matrix__synapse__log_dir }}/homeserver.log'
matrix__synapse__pid_file: '{{ matrix__synapse__run_dir }}/homeserver.pid'
matrix__synapse__service_file: '/etc/systemd/system/{{ matrix__synapse__service }}.service'
matrix__synapse__server_name: 'example.com'
matrix__synapse__baseurl: 'https://matrix.example.com'
matrix__synapse__admin_contact: 'mailto:user@example.com'

View file

@ -0,0 +1,27 @@
---
matrix__conf_dir: '/etc/matrix'
matrix__opt_dir: '/opt/matrix'
matrix__lib_dir: '/var/lib/matrix'
matrix__log_dir: '/var/log/matrix'
matrix__run_dir: '/var/run/matrix'
matrix__synapse__user: 'matrix-synapse'
matrix__synapse__group: 'matrix-synapse'
matrix__synapse__service: 'matrix-synapse'
matrix__synapse__conf_dir: '{{ matrix__conf_dir }}/synapse'
matrix__synapse__opt_dir: '{{ matrix__opt_dir }}/synapse'
matrix__synapse__lib_dir: '{{ matrix__lib_dir }}/synapse'
matrix__synapse__log_dir: '{{ matrix__log_dir }}/synapse'
matrix__synapse__run_dir: '{{ matrix__run_dir }}/synapse'
matrix__synapse__conf_file: '{{ matrix__synapse__conf_dir }}/config.yml'
matrix__synapse__log_conf_file: '{{ matrix__synapse__conf_dir }}/log_config.yml'
matrix__synapse__key_file: '{{ matrix__synapse__conf_dir }}/signing_key'
matrix__synapse__venv_dir: '{{ matrix__synapse__opt_dir }}/venv'
matrix__synapse__media_dir: '{{ matrix__synapse__lib_dir }}/media_store'
matrix__synapse__db_file: '{{ matrix__synapse__lib_dir }}/homeserver.db'
matrix__synapse__log_file: '{{ matrix__synapse__log_dir }}/homeserver.log'
matrix__synapse__pid_file: '{{ matrix__synapse__run_dir }}/homeserver.pid'
matrix__synapse__service_file: '/etc/systemd/system/{{ matrix__synapse__service }}.service'