This commit is contained in:
zhangzhihan
2020-06-09 13:10:38 +08:00
parent 792ce3da1a
commit 829dd78560
27 changed files with 198 additions and 41 deletions

BIN
roles/sapp/.DS_Store vendored Normal file

Binary file not shown.

View File

@@ -40,6 +40,13 @@
dest: /home/mesasoft/sapp_run/etc/gdev.conf
when: tsg_access_type == 1
- name: "copy sapp.service destination server"
copy:
src: "{{ role_path }}/files/sapp.service"
dest: /usr/lib/systemd/system/
mode: 0755
- name: "enable sapp"
systemd:
name: sapp

View File

@@ -9,13 +9,13 @@
instance_name = "sapp4"
[CPU]
{% if tsg_access_type == 0 %}
{% if tsg_running_type == 0 %}
worker_threads=1
{% else %}
worker_threads={{ sapp.worker_threads }}
{% endif %}
### note, bind_mask, if you do not want to bind thread to special CPU core, keep it empty as []
{% if tsg_access_type == 0 %}
{% if tsg_running_type == 0 %}
bind_mask=[]
{% else %}
bind_mask=[{{ sapp.bind_mask }}]