In the log, we can clearly see that:
Code: Select all
„lfd.service” -> „/usr/lib/systemd/system/”
cp: nie można utworzyć zwykłego pliku „/usr/lib/systemd/system/”: Nie jest katalogiem
„csf.service” -> „/usr/lib/systemd/system/”
cp: nie można utworzyć zwykłego pliku „/usr/lib/systemd/system/”: Nie jest katalogiem
Failed to execute operation: No such file or directory
Failed to execute operation: No such file or directory
After looking inside, in fact, there was no system folder in /usr/lib/systemd.
Code: Select all
root@archi:/usr/lib/systemd# ls
catalog network ntp-units.d user user-generators
Code: Select all
root@archi:/usr/lib/systemd/system# ls
csf.service lfd.service
root@archi:/usr/lib/systemd/system# systemctl list-unit-files | grep "csf\|lfd"
csf.service enabled
lfd.service enabled
Solutions:The available unit files can be seen in /usr/lib/systemd/system/ and /etc/systemd/system/ (the latter takes precedence).
1. Add mkdir /usr/lib/systemd/system before trying to put files inside.
2. Switch location of the csf & lfd services to /etc/systemd/system
Thanks!