Re: capturing system shutdown signals?
Nathan Van Ymeren <[email protected]>
| Newsgroups | gmane.lisp.steel-bank.general |
|---|---|
| Message-ID | <[email protected]> |
Linux shutdown scripts typically send SIGTERM to running processes when the system is shutting down. In the past I have used the 'trivial-signal library to handle this: https://github.com/guicho271828/trivial-signal Apr 26, 2024 10:13:12 Jeff Cunningham <[email protected]>: > Is there a way to capture a general shutdown signal in a running sbcl-compiled program (Hunchentoot > server) so it can gracefully do some house-keeping first? This is running on a Linux platform. I > had a binary data file destroyed the other day from improper closure while writing. > > Best regards, > > -- Jeff > > > > > > > > > _______________________________________________ > Sbcl-help mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sbcl-help