Re: 'PIDFile=' warning and override.conf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You did not post your override.conf file for inspection, so it is hard to tell.

Did you remember to do a systemctl daemon-reload after you added your override.conf?

..Ch:W..

On Tue, Aug 25, 2020 at 4:27 PM Richard Hector <richard@xxxxxxxxxxxxx> wrote:
Hi all,

I've got the common warning:

/lib/systemd/system/fail2ban.service:12: PIDFile= references path below
legacy directory /var/run/, updating /var/run/fail2ban/fail2ban.pid →
/run/fail2ban/fail2ban.pid; please update the unit file accordingly.

I made the change in the relevant override.conf file, but that doesn't
seem to work. Changing the 'real' one in /lib/systemd/system works.

Is that how it's supposed to be?

I'm using debian buster, with systemd package version 241-7~deb10u4

Cheers,
Richard
_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel


--
"Perfection must be reached by degrees; she requires the slow hand of time." - Voltaire
_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux