- fix conf/app.conf
This commit is contained in:
@@ -9,5 +9,12 @@
|
|||||||
owner: ubuntu
|
owner: ubuntu
|
||||||
group: ubuntu
|
group: ubuntu
|
||||||
mode: 0755
|
mode: 0755
|
||||||
|
- name: copy conf file to dest
|
||||||
|
copy:
|
||||||
|
src: ../conf/app.conf
|
||||||
|
dest: /jxdata/jx-callback/conf/app.conf
|
||||||
|
owner: ubuntu
|
||||||
|
group: ubuntu
|
||||||
|
mode: 0555
|
||||||
- name: shell
|
- name: shell
|
||||||
shell: sudo systemctl restart jx-callback
|
shell: cd /jxdata/jx-callback/conf && sed -i 's/runmode\s*=\s*.*/runmode ={{ runmode }}/' app.conf && sudo systemctl restart jx-callback
|
||||||
|
|||||||
Reference in New Issue
Block a user