- fix conf/app.conf

This commit is contained in:
gazebo
2018-07-31 15:22:50 +08:00
parent 01414c91b5
commit 85b7fcc05f

View File

@@ -9,5 +9,12 @@
owner: ubuntu
group: ubuntu
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
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