This commit is contained in:
邹宗楠
2022-08-03 11:33:50 +08:00
parent 886785acc2
commit c25f161f99

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-{{ runmode }}
shell: cd {{ deploy_dir }}/conf && sed -i 's/runmode\s*=\s*.*/runmode = {{ runmode }}/' app.conf && sudo systemctl restart jx-callback
when: runmode == "api"
- name: shell