/lib/systemd/system/filebeat.service in rpm package

*.service should be placed to /usr/lib or /etc/sysemd/system; so why filebeat.service is placed to /lib/systemd/system/? when filebeat runing, filebeat.service, whether it works or not and why?

According to the systemd docs the "Units of installed packages" go to /usr/lib/systemd/system. Due to /lib being symlink to usr/lib the unit files are installed to the correct location. It works fine on my CentOS 7 machine.

Thanks a lot. Your answer solved my question.

caibaoying3@163.com

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.