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 Jun 28, 2024
1 parent 5f0120a commit 63a3fee
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 63a3fee

Please sign in to comment.