1、增加内存限制

This commit is contained in:
fumingwei
2020-10-19 14:52:08 +08:00
parent 7800356765
commit 1c5ea5b740
12 changed files with 48 additions and 4 deletions

View File

@@ -28,6 +28,12 @@
- name: "tsg-diagnose init certs"
shell: /bin/sh /opt/tsg/tsg-diagnose/deploy/init_certs/init_badssl_certs.sh
- name: "copy memory limit file to tsg-diagnose.service.d"
copy:
src: "{{ role_path }}/files/memory.conf"
dest: /etc/systemd/system/tsg-diagnose.service.d/
mode: 0644
- name: 'Tsg-diagnose service start'
systemd:
name: tsg-diagnose