From 04c761ba5fbee7339e477b6bf1373f300bfcd0db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Wed, 3 Aug 2022 10:52:29 +0800 Subject: [PATCH] 1 --- deploy/ansible.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/ansible.yml b/deploy/ansible.yml index e3681b13b..6384fe745 100644 --- a/deploy/ansible.yml +++ b/deploy/ansible.yml @@ -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