Capturing SIGHUP or SIGUSR1/2

I know how to capture SIGINT via an InterruptException and how to attach a signal handler using atexit, but neither of those solves my requirement.

I need to capture either of SIGHUP, SIGUSR1, or SIGUSR2 so that I can reload configuration at runtime without restarting my julia process.

Is there a way to do this? If necessary I could also use ccall to call out to the lower level signal handling routines.

I’m using Julia 1.6.3

TIA.

1 Like

Not at the moment, see signal handling · Issue #14675 · JuliaLang/julia · GitHub.