cabal-version: 3.0
name: systemd-socket-activation
version: 1.0.0.1
category: System, Network
synopsis: Let systemd bind the server's socket for you
description:
"Socket activation" is the a feature of systemd.
https://www.freedesktop.org/software/systemd/man/sd_listen_fds_with_names.html
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.
copyright: 2021 Mission Valley Software LLC
license: MIT
license-file: license.txt
author: Chris Martin
maintainer: Chris Martin, Julie Moronuki
homepage: https://github.com/typeclasses/systemd-socket-activation
bug-reports: https://github.com/typeclasses/systemd-socket-activation/issues
build-type: Simple
source-repository head
type: git
location: https://github.com/typeclasses/systemd-socket-activation
library
default-language: Haskell2010
ghc-options: -Wall
hs-source-dirs: src
default-extensions: DeriveAnyClass DerivingStrategies
DerivingVia GeneralizedNewtypeDeriving
NoImplicitPrelude OverloadedStrings TypeApplications
exposed-modules:
SocketActivation
other-modules:
SocketActivation.CheckRecipient
SocketActivation.Concepts
SocketActivation.Env
SocketActivation.GetByName
SocketActivation.GetFileDescriptors
SocketActivation.GetSockets
SocketActivation.IO
SocketActivation.Parsing
build-depends:
base ^>= 4.14 || ^>= 4.15 || ^>= 4.16
, containers ^>= 0.6
, network ^>= 3.1
, text ^>= 1.2.3
, transformers ^>= 0.5.6 || ^>= 0.6
, unix ^>= 2.7.2