packages feed

systemd-socket-activation-1.0.0.2: systemd-socket-activation.cabal

cabal-version: 3.0

name: systemd-socket-activation
version: 1.0.0.2
category: System, Network
synopsis: Let systemd bind the server's socket for you

description: "Socket activation" is the a feature of systemd. 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

extra-source-files: *.md

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 || ^>= 4.17
      , containers   ^>= 0.6.4
      , network      ^>= 3.1.2
      , text         ^>= 1.2.4 || ^>= 2.0
      , transformers ^>= 0.5.6 || ^>= 0.6
      , unix         ^>= 2.7.2