This commit is contained in:
邹宗楠
2022-08-03 10:52:29 +08:00
parent f324fe4ce4
commit 04c761ba5f

View File

@@ -35,7 +35,7 @@
mode: 0555
- name: shell
shell: cd {{ deploy_dir }}/conf && sed -i 's/runmode\s*=\s*.*/runmode = {{ runmode }}/' app.conf && sudo systemctl restart jx-callback
shell: cd {{ deploy_dir }}/conf && sed -i 's/runmode\s*=\s*.*/runmode = {{ runmode }}/' app.conf && sudo systemctl restart jx-callback-{{ runmode }}
when: runmode == "api"
- name: shell