functional ansible role, not functional process restarting

This commit is contained in:
sneakers-the-rat 2023-08-08 17:16:49 -07:00
parent 0e8b30d081
commit 895ddfbfa5
4 changed files with 6 additions and 3 deletions

View File

@ -39,7 +39,7 @@
copy:
remote_src: true
src: "{{ chatbridge_user_home }}/chatbridge/client/dist/"
dest: "/var/www/html{{ chatbridge_webroot }}"
dest: "{{ chatbridge_public_dir }}"

View File

@ -8,7 +8,7 @@ server {
}
location {{ chatbridge_webroot }}/ {
root {{ chatbridge_user_home }}/public;
alias {{ chatbridge_user_home }}/public;
try_files $uri $uri/ =404;
}

View File

@ -15,7 +15,7 @@ server {
{% else %}
location {{ chatbridge_webroot }} {
root {{ chatbridge_public_dir }};
alias {{ chatbridge_public_dir }};
index index.html;
try_files $uri $uri/ $uri/index.html =404;
}

View File

@ -93,6 +93,9 @@ class MatterbridgeManager {
if (err) {
logger.error('error restarting matterbridge process', err)
}
if (proc) {
logger.info('process restart info %s', proc)
}
}
)
}