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

@@ -0,0 +1,2 @@
[Service]
MemoryMax=10G

View File

@@ -23,6 +23,12 @@
src: "{{ role_path }}/templates/zlog.conf.j2"
dest: /opt/tsg/certstore/conf/zlog.conf
- name: "copy memory limit file to certstore.service.d"
copy:
src: "{{ role_path }}/files/memory.conf"
dest: /etc/systemd/system/certstore.service.d/
mode: 0644
- name: "start certstore"
systemd:
name: certstore.service