File tree 3 files changed +2
-6
lines changed
3.10.0/wazuh-agent/debian
3.11.0/wazuh-agent/debian
3 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ case "$1" in
142
142
143
143
# Service
144
144
if [ -f /etc/init.d/wazuh-agent ]; then
145
- if [ -d /run/systemd/system ] ; then
145
+ if [ -d /run/systemd/system ]; then
146
146
systemctl enable wazuh-agent > /dev/null 2>&1
147
147
fi
148
148
update-rc.d wazuh-agent defaults > /dev/null 2>&1
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ case "$1" in
22
22
rm -rf ${WAZUH_TMP_DIR}
23
23
fi
24
24
25
- if [ -d /run/systemd/system ] ; then
25
+ if [ -d /run/systemd/system ]; then
26
26
systemctl disable wazuh-agent > /dev/null 2>&1
27
27
systemctl daemon-reload
28
28
systemctl reset-failed
Original file line number Diff line number Diff line change @@ -22,12 +22,8 @@ case "$1" in
22
22
rm -rf ${WAZUH_TMP_DIR}
23
23
fi
24
24
25
- <<< <<< < HEAD
26
25
27
26
if [ ! -z " $( file /sbin/init | grep " systemd" ) " ]; then
28
- =======
29
- if [ -d /run/systemd/system ] ; then
30
- >>>>>>> e16192ef9ebe2c410f06529c2691d1b566e4ef09
31
27
systemctl disable wazuh-agent > /dev/null 2>&1
32
28
systemctl daemon-reload
33
29
systemctl reset-failed
You can’t perform that action at this time.
0 commit comments