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


(Panda) #1

*.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?


(Andrew Kroh) #2

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.


(Panda) #3

Thanks a lot. Your answer solved my question.

caibaoying3@163.com


(system) #4

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