systemd-socket-activation

Let systemd bind the server's socket for you

https://github.com/typeclasses/systemd-socket-activation

Version on this page:1.1.0.1@rev:1
LTS Haskell 22.44:1.1.0.2
Stackage Nightly 2023-12-26:1.1.0.1@rev:1
Latest on Hackage:1.1.0.2

See all snapshots systemd-socket-activation appears in

MIT licensed by Chris Martin
Maintained by Chris Martin, Julie Moronuki
This version can be pinned in stack with:systemd-socket-activation-1.1.0.1@sha256:2bd40f38f5b627f63c2ea32d7b7ffb0bbb97220719d21e234dccfb4264cf0f4d,1867

Module documentation for 1.1.0.1

“Socket activation” is the a feature of systemd. (documentation)

We use it for web servers, to avoid the momentary downtime that otherwise occurs while restarting processes. Because the socket is manged by systemd, not by our process, the socket remains even while our process is down. Requests to the socket are queued until our process comes back up to respond.

Changes

1.1.0.1 (2023-02-25)

Various minor internal cleanup and simplification.

Added dependency on the quaalude package.

Haskell version is now GHC2021. Requires at least GHC 9.2.

1.1.0.0 (2023-02-25)

The NoSuchName constructor of Error now has an additional field that indicates which sockets are available.

The displayException method of Error has been changed from the default implementation; it now constructs sentences.

1.0.0.2 (2023-01-08)

Support GHC 9.4

1.0.0.1 (2021-12-27)

Support GHC 9.2

1 (2021-07-07)

Initial release