Re: CentOS 8.1 cron does not send mail

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



On Mon, Apr 06, 2020 at 03:17:29PM +0200, Simon Matter via CentOS wrote:
> Just wondering here, if the system crond.service file is being
> modified/fixed with an update by rpm package, will the custom file in
> /etc/systemd/system also be fixed then?

No.  The packages will only update files in /usr/lib/systemd/system/.

If you drop a file, /etc/systemd/system/crond.service, it will
override the one in /usr/lib/systemd.  You'll get no benefit from
fixes in a package.

If you use /etc/systemd/system/cron.d/service.d/override.conf, the
changes in the override.conf will override the contents of
/usr/lib/systemd/system/crond.service.  So any fixes that appear in a
package update will only affect parts of the unit you didn't
override. 

-- 
Jonathan Billings <billings@xxxxxxxxxx>
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux