[systemd-devel] Journal message timestamps

Kevin P. Fleming kevin at km6g.us
Tue Sep 8 11:18:15 UTC 2020


On Tue, Sep 8, 2020 at 7:12 AM Reindl Harald <h.reindl at thelounge.net> wrote:

> 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

... and this is most easily done by using 'systemctl edit
fake-hwclock.service', which will create the file in the proper
location so you don't have to (and will handily cause a daemon reload
as well).


More information about the systemd-devel mailing list