| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
Network.Socket.Activation
Description
This is a module for systemd socket activation. See http://0pointer.de/blog/projects/socket-activation.html and http://www.freedesktop.org/software/systemd/man/systemd.socket.html
- getActivatedSockets :: IO (Maybe [Socket])
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).