Debian Codegraph @

/

debian sasa 0.4-2debian sasa debian socket-activate shell shell-project 0.0.0 cppdebianinijsonmakemakefilemarkdownpythonshell 26 files · 158 symbols
View dependency graph

Depends on

README (full)

standalone socket-activate (sasa)

This project provides a standalone C implementation of systemd-style socket-activation for use on Unix-based systems that don't have systemd installed.

It uses the simple sd_listen_fds environment variable and file descriptor convention introduced by systemd, without using any code or dependencies from systemd.

See the socket-activate manpage for more information.

Code and Issues

The source code is available at https://git.devuan.org/leepen/standalone-socket-activate where bug reports can be made and pull requests are welcome.

Dependencies

  • make
  • C compiler [tested with gcc]
  • pandoc [for manpage only]
  • diff, python3, netcat (openbsd) [for tests only]

Similar work

systemd offers systemd-socket-activate, but that code is only for testing and has a few drawbacks that hopefully this project avoids:

  • The systemd project itself doesn't build on non-Linux systems.

  • systemd-socket-activate doesn't allow for multiple sockets of different types.

Authors

This implementation of socket-activate is written by Mark Hindley [email protected] based on an initial C implementation by Peter Pentchev [email protected]. The original Python 3 implementation was written by Daniel Kahn Gillmor [email protected].

It is licensed under the GPL version 3 or later

References

dir debian/
dir src/
dir tests/
file .gitignore
file ChangeLog
file LICENSE
file Makefile
file README.md
file socket-activate.md