openstack-ansible-memcached.../templates/systemd.slice.conf.j2

12 lines
353 B
Django/Jinja

# {{ ansible_managed }}
[Service]
# This creates a specific slice to operate from. The accounting options give us
# the ability to see resource usage through the `systemd-cgtop` command and
# further isolate this service from the host machine.
Slice=memcached.slice
CPUAccounting=true
BlockIOAccounting=true
MemoryAccounting=false
TasksAccounting=true