socket-activation-0.1.0.2: systemd socket activation library

Safe HaskellNone
LanguageHaskell98

Network.Socket.Activation

Description

Synopsis

Documentation

getActivatedSockets :: IO (Maybe [Socket]) Source #

Return a list of activated sockets, if the program was started with socket activation. The sockets are in the same order as in the associated .socket file. The sockets will have their family, type, and status set appropriately. Returns Nothing in systems without socket activation (or when the program was not socket activated).