summarylogtreecommitdiffstats
path: root/wazuh-dashboard.install
blob: 18302cd3fec99f649964a4b9efbf608f787ed20a (plain)
1
2
3
4
5
6
7
8
post_install()
{
  echo "creating wazuh-indexer user and group"
  groupadd -f wazuh-dashboard
  usuario="wazuh-dashboard" && id "$usuario" &>/dev/null || useradd -d /usr/share/wazuh-dashboard -g wazuh-dashboard -s /usr/bin/nologin  wazuh-dashboard
  echo "Done!"
  echo "Visit https://documentation.wazuh.com/current/installation-guide/wazuh-dashboard/step-by-step.html and follow the configure instructions"
}