Split restart into stop and start

This commit is contained in:
Wes
2023-07-17 14:30:51 +00:00
parent 31696803e1
commit 1a4515fc8a

View File

@@ -10,7 +10,8 @@
. /usr/sbin/so-common
{% if grains.role == 'so-heavynode' %}
/usr/sbin/so-restart elastic-agent $1
/usr/sbin/so-stop elastic-agent $1
/usr/sbin/so-start elastic-agent $1
{% else %}
service elastic-agent restart
{% endif %}