Closed jw3 closed 1 year ago
There is no dedicated way how to be notified about that... Right now we are relying on the message to appear in testing.
It is written to syslog as LOG_INFO priority.
Parsing the log output does work, though watching for a .pid like file on disk would be cleaner (for me :wink: )
I should have titled this issue "Write a file to indicate polling has started"
The use case here is to signal when it is time for an application to be started to ensure fapolicyd will observe all events it generates.
The log parsing works fine, nothing further needed
There is a space between when the daemon is "up" and when it starts polling. The duration of this space is determined by the size of the trust database.
Would it be possible to write a flag file to disk, right before the polling starts, to indicate that polling has begun.
This would likely be written where the log message "Starting to listen for events" is output.
If I missed this functionality already please point me in the right direction.