[systemd-devel] Journal message timestamps

Reindl Harald h.reindl at thelounge.net
Tue Sep 8 11:11:53 UTC 2020



Am 08.09.20 um 13:06 schrieb Mark Corbin:
> Change /lib/systemd/system/fake-hwclock.service to add
> 'systemd-journald.service' to the end of the 'Before' line

this is *system* area and the admin has no business to touch anything
there as well as packages have no business to touch admin area in
/etc/systemd/system

your playground is in
/etc/systemd/system/fake-hwclock.service.d/myoverrides.conf

and yes that is important so that you don#t have to redo your changes
after each and every update and way better than cloning the whole
unit-file in /etc/systemd/system/ so that reasonable upstream changes
get applied in teh future

-------------------------

/etc/systemd/system/fake-hwclock.service.d/myoverrides.conf:

[Unit]
Before=systemd-journald.service


More information about the systemd-devel mailing list