Keep the systemd memory limit

This commit is contained in:
Michael Simacek 2016-09-29 17:25:55 +02:00
parent 0aeeb4a3ab
commit b1b1aabc07
2 changed files with 14 additions and 0 deletions

View file

@ -0,0 +1,2 @@
[Service]
MemoryLimit=3G

View file

@ -25,6 +25,18 @@
- config
- 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
template: >
src="{{ item }}.j2"