diff --git a/bundles/elasticsearch/files/override.conf b/bundles/elasticsearch/files/override.conf new file mode 100644 index 0000000..e39bd84 --- /dev/null +++ b/bundles/elasticsearch/files/override.conf @@ -0,0 +1,5 @@ +[Service] +ExecStart= + +# same as in original unit file, but without --quiet +ExecStart=/usr/share/elasticsearch/bin/systemd-entrypoint -p ${PID_DIR}/elasticsearch.pid diff --git a/bundles/elasticsearch/items.py b/bundles/elasticsearch/items.py index 1239f5c..c70bcce 100644 --- a/bundles/elasticsearch/items.py +++ b/bundles/elasticsearch/items.py @@ -5,6 +5,12 @@ files = { 'svc_systemd:elasticsearch:restart', } }, + '/etc/systemd/system/elasticsearch.service.d/override.conf': { + 'triggers': { + 'action:systemd-reload', + 'svc_systemd:elasticsearch:restart', + }, + }, } svc_systemd = {