Refactoring wazuh/wazuh container

This commit is contained in:
Miguelangel Freitas
2018-04-20 17:14:43 -05:00
parent 97c7b82aec
commit efb5f9ef04
6 changed files with 67 additions and 21 deletions
@@ -112,9 +112,4 @@ trap "ossec_shutdown; exit" SIGINT SIGTERM
chmod -R g+rw ${DATA_PATH}
service postfix start
service wazuh-api start
service wazuh-manager start
service filebeat start
tail -f /var/ossec/logs/ossec.log
/sbin/my_init
+3
View File
@@ -0,0 +1,3 @@
#!/bin/sh
service filebeat start
tail -f /var/log/filebeat/filebeat
+3
View File
@@ -0,0 +1,3 @@
#!/bin/sh
service postfix start
tail -f /var/log/mail.log
+4
View File
@@ -0,0 +1,4 @@
#!/bin/sh
service wazuh-api start
tail -f /var/ossec/data/logs/api.log
+4
View File
@@ -0,0 +1,4 @@
#!/bin/sh
service wazuh-manager start
tail -f /var/ossec/data/logs/ossec.log