diff --git a/distribution/packages/src/rpm/wazuh-indexer.rpm.spec b/distribution/packages/src/rpm/wazuh-indexer.rpm.spec index f9244d30783ac..549cde92e7a09 100644 --- a/distribution/packages/src/rpm/wazuh-indexer.rpm.spec +++ b/distribution/packages/src/rpm/wazuh-indexer.rpm.spec @@ -98,13 +98,15 @@ sed -i 's|%{buildroot}||' filelist.txt # which will later be excluded from filelist.txt set -- "%%dir %{_sysconfdir}" set -- "$@" "%%dir %{_sysconfdir}/sysconfig" +set -- "$@" "%%dir %{_sysconfdir}/init.d" set -- "$@" "%%dir /usr" set -- "$@" "%%dir /usr/lib" +set -- "$@" "%%dir /usr/lib/systemd/system" +set -- "$@" "%%dir /usr/lib/tmpfiles.d" set -- "$@" "%%dir /usr/share" set -- "$@" "%%dir /var" set -- "$@" "%%dir /var/lib" set -- "$@" "%%dir /var/log" -set -- "$@" "%%dir /etc/init.d" set -- "$@" "%%dir /usr/lib/sysctl.d" set -- "$@" "%%dir /usr/lib/systemd" set -- "$@" "%%dir /usr/lib/systemd"