openstack-ansible-ops/elk_metrics_6x/templates/systemd.general-overrides.conf.j2
Kevin Carter 76aa98423e
Remove PrivateDevices
The PrivateDevices option, in LXC containers, causes more problems than
it solves. This change removes that option generally so that its no
longer a problem no matter how the installation of the ELK services is
done.

Change-Id: I7f881ac0da9eb6154f8e6b977df815736ac04264
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-09-24 13:16:47 -05:00

13 lines
358 B
Django/Jinja

[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=elastic.slice
CPUAccounting=true
BlockIOAccounting=true
MemoryAccounting=true
TasksAccounting=true
# Sandbox setup
PrivateTmp=true