functional ansible role, not functional process restarting
This commit is contained in:
parent
0e8b30d081
commit
895ddfbfa5
4 changed files with 6 additions and 3 deletions
|
@ -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 }}"
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ server {
|
|||
}
|
||||
|
||||
location {{ chatbridge_webroot }}/ {
|
||||
root {{ chatbridge_user_home }}/public;
|
||||
alias {{ chatbridge_user_home }}/public;
|
||||
try_files $uri $uri/ =404;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -93,6 +93,9 @@ class MatterbridgeManager {
|
|||
if (err) {
|
||||
logger.error('error restarting matterbridge process', err)
|
||||
}
|
||||
if (proc) {
|
||||
logger.info('process restart info %s', proc)
|
||||
}
|
||||
}
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue