Enabling ossec-authd by default.

This commit is contained in:
Miguelangel Freitas
2017-11-24 10:07:34 -05:00
parent a866f41ecf
commit d1adafdcde
+3 -1
View File
@@ -75,11 +75,13 @@ then
fi fi
fi fi
#Enabling ossec-authd.
exec_cmd "/var/ossec/bin/ossec-control enable auth"
function ossec_shutdown(){ function ossec_shutdown(){
${DATA_PATH}/bin/ossec-control stop; ${DATA_PATH}/bin/ossec-control stop;
} }
# Trap exit signals and do a proper shutdown # Trap exit signals and do a proper shutdown
trap "ossec_shutdown; exit" SIGINT SIGTERM trap "ossec_shutdown; exit" SIGINT SIGTERM