[systemd-devel] How can I simply check that a service has been restarted ?

Francis Moreau francis.moro at gmail.com
Tue Nov 10 09:28:59 UTC 2020


Hello,

After restarting a service with "systemctl try-restart ..." I want to
verify that the service has been restarted.

How can I reliably do this without using the dbus API ?

Thank you
-- 
Francis


More information about the systemd-devel mailing list