mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Split restart into stop and start
This commit is contained in:
@@ -10,7 +10,8 @@
|
|||||||
. /usr/sbin/so-common
|
. /usr/sbin/so-common
|
||||||
|
|
||||||
{% if grains.role == 'so-heavynode' %}
|
{% 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 %}
|
{% else %}
|
||||||
service elastic-agent restart
|
service elastic-agent restart
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user