actually awaiting spawning the process
This commit is contained in:
parent
895ddfbfa5
commit
391bb0b2d0
2 changed files with 12 additions and 3 deletions
|
@ -13,3 +13,9 @@
|
||||||
get_url:
|
get_url:
|
||||||
url: "{{ item.browser_download_url }}"
|
url: "{{ item.browser_download_url }}"
|
||||||
dest: "{{ chatbridge_matterbridge_binary }}"
|
dest: "{{ chatbridge_matterbridge_binary }}"
|
||||||
|
|
||||||
|
- name: Enable execution by matterbridge user
|
||||||
|
file:
|
||||||
|
path: "{{ chatbridge_matterbridge_binary }}"
|
||||||
|
mode: '744'
|
||||||
|
owner: "{{ chatbridge_user }}"
|
||||||
|
|
|
@ -113,9 +113,12 @@ class MatterbridgeManager {
|
||||||
let groups = await groupRepository.find({
|
let groups = await groupRepository.find({
|
||||||
select: {name: true}
|
select: {name: true}
|
||||||
})
|
})
|
||||||
groups.map(
|
logger.info('Got groups to spawn %s', groups)
|
||||||
(group) => this.spawnProcess(group.name)
|
|
||||||
)
|
for (let group of groups){
|
||||||
|
await this.spawnProcess(group.name)
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
get processes(): Promise<Process[]> {
|
get processes(): Promise<Process[]> {
|
||||||
|
|
Loading…
Reference in a new issue