e0f77d531a
Systemd overrides have been added to the service unit files for all beats and services. All of the playbooks have been updated to make them look and feel uniform. This also sets handlers within the playbooks so that we're improving the idempotence. Change-Id: I2dd3183dae4bfddc607cc74f9dfb7af115b80abc 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 }}
|