The following change will ensure that the elastic-static is logging to the journal and that systemd is able to report how well the elastic slice is running. Change-Id: I79a9074b5f14a41dec421d6691fd04c0e6be15b7 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
14 lines
429 B
Django/Jinja
14 lines
429 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
|
|
PrivateDevices={{ ((ansible_os_family | lower) != "redhat") | lower }}
|