I am using systemd, journald and systemd-coredump in my system.  When a
process crashes the systemd-coredump util handles the core dump and logs a
message in the journal with MESSAGE_ID=fc2e22bc6ee647b6b90729ab34a250b1

Now I want to add a routine which will do post crash activities, For eg.,
blinking a fault led in the system.

I think we can poll the journal for the crash message, but is there any
other optimal way to register for a callback from journal which will be
triggered whenever a message of particular MESSAGE_ID is received.


-- 
With Kind Regards,
Dinesh P Ramakrishnan
_______________________________________________
systemd-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to