Keep the systemd memory limit
This commit is contained in:
parent
0aeeb4a3ab
commit
b1b1aabc07
2 changed files with 14 additions and 0 deletions
2
roles/koschei/backend/files/systemd-memory-limit.conf
Normal file
2
roles/koschei/backend/files/systemd-memory-limit.conf
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
[Service]
|
||||||
|
MemoryLimit=3G
|
|
@ -25,6 +25,18 @@
|
||||||
- config
|
- config
|
||||||
- service
|
- service
|
||||||
|
|
||||||
|
- name: install systemd config files
|
||||||
|
copy: >
|
||||||
|
src=systemd-memory-limit.conf
|
||||||
|
dest=/etc/systemd/system/koschei-resolver.service.d/memory-limit.conf
|
||||||
|
notify:
|
||||||
|
- reload systemd
|
||||||
|
- restart koschei-resolver
|
||||||
|
tags:
|
||||||
|
- koschei
|
||||||
|
- config
|
||||||
|
- service
|
||||||
|
|
||||||
- name: install config files
|
- name: install config files
|
||||||
template: >
|
template: >
|
||||||
src="{{ item }}.j2"
|
src="{{ item }}.j2"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue