Is your feature request related to a problem? Please describe.
-startupnotify and -shutdownnotify configuration parameter accept shell commands to be executed after Bitcoin Core starts/shutdown
One is still WIP and not merged: #23395
This provides options for attackers to target new users of Bitcoin Core and one example which involves some social engineering is explained in #23395 (comment)
Describe the solution you'd like
I am not sure how this is used currently by different users and projects however if reading notifications about start/shutdown is the goal maybe a file with name notifications.dat with below format can help:
lastshutdown=1635786273
lastrestart=SOMEUNIXTIME
currentstate=shutdown
Initially suggested this solution in #23395 (comment)
Describe alternatives you've considered
Educate users about misuse of *notify options