This commit is contained in:
邹宗楠
2022-08-03 17:19:22 +08:00
parent e92ee33ee0
commit 0e59a39006
2 changed files with 3 additions and 3 deletions

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-api
when: runmode == "api"
- name: shell