update
This commit is contained in:
BIN
roles/sapp/.DS_Store
vendored
Normal file
BIN
roles/sapp/.DS_Store
vendored
Normal file
Binary file not shown.
@@ -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
|
||||
|
||||
@@ -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 }}]
|
||||
|
||||
Reference in New Issue
Block a user