Connect to Synapse
This commit is contained in:
parent
1a447b3807
commit
c9761e53dd
2 changed files with 7 additions and 3 deletions
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
- name: Clone matrix-appservice-webhooks project
|
- name: Clone matrix-appservice-webhooks project
|
||||||
git:
|
git:
|
||||||
repo: https://github.com/matrix-org/matrix-appservice-webhooks.git
|
repo: https://github.com/turt2live/matrix-appservice-webhooks.git
|
||||||
dest: /var/local/matrix-appservice-webhooks/matrix-appservice-webhooks
|
dest: /var/local/matrix-appservice-webhooks/matrix-appservice-webhooks
|
||||||
version: master
|
version: master
|
||||||
become: true
|
become: true
|
||||||
|
@ -40,7 +40,11 @@
|
||||||
mode: 0644
|
mode: 0644
|
||||||
notify: Reload systemd daemons
|
notify: Reload systemd daemons
|
||||||
|
|
||||||
# TODO: See https://github.com/turt2live/matrix-appservice-webhooks
|
# TODO
|
||||||
|
# node index.js -r -u "http://localhost:9000" -c config/config.yaml
|
||||||
|
# cp /var/local/matrix-appservice-webhooks/matrix-appservice-webhooks/appservice-registration-webhooks.yaml /etc/matrix-synapse/appservice-registration-webhooks.yaml
|
||||||
|
# chown matrix-synapse:nogroup /etc/matrix-synapse/appservice-registration-webhooks.yaml 440
|
||||||
|
# /etc/matrix-synapse/conf.d/app_service_config_files.yaml
|
||||||
|
|
||||||
# Run
|
# Run
|
||||||
#- name: Ensure that matrix-appservice-webhooks is started
|
#- name: Ensure that matrix-appservice-webhooks is started
|
||||||
|
|
|
@ -10,7 +10,7 @@ Type=simple
|
||||||
User=matrix-appservice-webhooks
|
User=matrix-appservice-webhooks
|
||||||
Group=matrix-appservice-webhooks
|
Group=matrix-appservice-webhooks
|
||||||
WorkingDirectory=/var/local/matrix-appservice-webhooks/matrix-appservice-webhooks
|
WorkingDirectory=/var/local/matrix-appservice-webhooks/matrix-appservice-webhooks
|
||||||
ExecStart=/usr/bin/nodejs /var/local/matrix-appservice-webhooks/matrix-appservice-webhooks/app.js -c config.yaml -f my_registration_file.yaml -p 9999
|
ExecStart=/usr/bin/nodejs index.js -p 9000 -c config/config.yaml -f appservice-registration-webhooks.yaml
|
||||||
Restart=always
|
Restart=always
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
Loading…
Reference in a new issue