# Capturing SIGHUP or SIGUSR1/2

**URL:** <https://discourse.julialang.org/t/capturing-sighup-or-sigusr1-2/69771>\
**Category:** General Usage\
**Tags:** signal-handling\
**Created:** [October 14, 2021, 5:23pm UTC](https://discourse.julialang.org/t/capturing-sighup-or-sigusr1-2/69771 "2021-10-14T17:23:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bluesmoon](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bluesmoon/32/327_2.png) [@bluesmoon](https://discourse.julialang.org/u/bluesmoon)\
**Post date:** [October 14, 2021, 5:23pm UTC](https://discourse.julialang.org/t/capturing-sighup-or-sigusr1-2/69771/1 "2021-10-14T17:23:12Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![simonbyrne](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/simonbyrne/32/19_2.png) [@simonbyrne](https://discourse.julialang.org/u/simonbyrne)\
**Post date:** [January 5, 2024, 6:59pm UTC](https://discourse.julialang.org/t/capturing-sighup-or-sigusr1-2/69771/2 "2024-01-05T18:59:28Z")

</div>

Not at the moment, see [signal handling · Issue #14675 · JuliaLang/julia · GitHub](https://github.com/JuliaLang/julia/issues/14675).
