Skip to content

Commit

Permalink
Change . for : in debian's postinst (#245)
Browse files Browse the repository at this point in the history
  • Loading branch information
f-galland authored and AlexRuiz7 committed Aug 20, 2024
1 parent be1fc3d commit 13aa9aa
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 13aa9aa

Please sign in to comment.