Replies: 1 comment 1 reply
-
See also #1789 for adding a more general mechanism than signals for talking to the server. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
By now SIGUSR1 starts a new recording - but only if recording is already active. SIGUSR2 toggles recording state .
But when scripting it is not easy to determine the actual recording state. There is no entry in the log file (--log parameter) and no info in the html status page. One can check if files in the recording directory are in use (lsof) or look into syslog where the message from all servers started with systemd are logged.
It would be great to have the recording state also in the file given by the --log parameter and eventually in the html status page.
Additionally - it seems that by now SIGUSR1 and SIGUSR2 perform actions for special cases.
For me it would be more intuitive, if one signal only starts/restarts recording and the other signal only stops recording. So one knows exactly which recording state is actual. It will need an additional start parameter to not break the actual behaviour.
Beta Was this translation helpful? Give feedback.
All reactions