Skip to content

Commit

Permalink
Change . for : in debian's postinst
Browse files Browse the repository at this point in the history
  • Loading branch information
f-galland committed May 29, 2024
1 parent 8cd8342 commit c7e6248
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions distribution/packages/src/deb/debian/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ tmp_dir=/var/log/wazuh-indexer/tmp
mkdir -p ${tmp_dir}

# Set owner
chown -R wazuh-indexer.wazuh-indexer ${product_dir}
chown -R wazuh-indexer.wazuh-indexer ${config_dir}
chown -R wazuh-indexer.wazuh-indexer ${log_dir}
chown -R wazuh-indexer.wazuh-indexer ${data_dir}
chown -R wazuh-indexer.wazuh-indexer ${pid_dir}
chown -R wazuh-indexer.wazuh-indexer ${tmp_dir}
chown -R wazuh-indexer:wazuh-indexer ${product_dir}
chown -R wazuh-indexer:wazuh-indexer ${config_dir}
chown -R wazuh-indexer:wazuh-indexer ${log_dir}
chown -R wazuh-indexer:wazuh-indexer ${data_dir}
chown -R wazuh-indexer:wazuh-indexer ${pid_dir}
chown -R wazuh-indexer:wazuh-indexer ${tmp_dir}

# Reload systemctl daemon
if command -v systemctl > /dev/null; then
Expand Down

0 comments on commit c7e6248

Please sign in to comment.