mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Split restart into stop and start
This commit is contained in:
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user