forked from wazuh/wazuh-docker
Merge pull request #350 from wazuh/bugfix-349-agentless-monitoring
Save agentless state
This commit is contained in:
@@ -128,6 +128,7 @@ sed -i 's/<node_name>to_be_replaced_by_hostname<\/node_name>/<node_name>'"${HOST
|
|||||||
trap "ossec_shutdown; exit" SIGINT SIGTERM
|
trap "ossec_shutdown; exit" SIGINT SIGTERM
|
||||||
|
|
||||||
chmod -R g+rw ${DATA_PATH}
|
chmod -R g+rw ${DATA_PATH}
|
||||||
|
chmod 750 /var/ossec/agentless/*
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
# Interpret any passed arguments (via docker command to this entrypoint) as
|
# Interpret any passed arguments (via docker command to this entrypoint) as
|
||||||
|
|||||||
@@ -3,5 +3,6 @@ DATA_DIRS[((i++))]="api/configuration"
|
|||||||
DATA_DIRS[((i++))]="etc"
|
DATA_DIRS[((i++))]="etc"
|
||||||
DATA_DIRS[((i++))]="logs"
|
DATA_DIRS[((i++))]="logs"
|
||||||
DATA_DIRS[((i++))]="queue"
|
DATA_DIRS[((i++))]="queue"
|
||||||
|
DATA_DIRS[((i++))]="agentless"
|
||||||
DATA_DIRS[((i++))]="var/multigroups"
|
DATA_DIRS[((i++))]="var/multigroups"
|
||||||
export DATA_DIRS
|
export DATA_DIRS
|
||||||
|
|||||||
Reference in New Issue
Block a user