How to get service reload timestamp
port19
port19 at port19.xyz
Mon Jan 8 11:49:01 UTC 2024
Hi all,
we currently have a monitoring check that alerts us of a service-specific config file having changed more recently than the services last restart.
We retrieve the restart time via `systemctl show <service> --property=ActiveEnterTimestamp`.
Is there a comparably elegant way to retreive the reload timestamp?
To avoid confusion, by reload I do not mean `systemctl daemon-reload`, I mean `systemctl reload <service>`.
Alternatively, is there a way to let systemd handle the reloading of services on change of related config files?
Best,
port19
More information about the systemd-devel
mailing list