mirror of
https://github.com/fspc/workstand.git
synced 2026-09-16 16:41:38 -04:00
Initial commit.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
---
|
||||
- name: Configure supvervisor to run {{ app_name }}
|
||||
action: template src={{ group_names[0] }}/supervisor-program.conf dest=/etc/supervisor/conf.d/{{ app_name }}.conf
|
||||
tags:
|
||||
- supervisor
|
||||
- deploy
|
||||
|
||||
- name: Load and re-read group configs
|
||||
action: supervisorctl name='{{ app_name }}:' state=present config=/etc/supervisor/supervisord.conf
|
||||
tags:
|
||||
- supvervisor
|
||||
- deploy
|
||||
@@ -0,0 +1,4 @@
|
||||
---
|
||||
- name: Configure supvervisor to run {{ app_name }}
|
||||
action: template src=staging/supervisor-program.conf dest=/etc/supervisor/conf.d/{{ app_name }}.conf
|
||||
notify: restart supervisor
|
||||
Reference in New Issue
Block a user