Skip to content
a simple httpd daemon in python, demonstrating socket activation via systemd
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE.txt
README.md
httpd-true
httpd-true.service
httpd-true.socket
systemd-test

README.md

Some days you just need a simple http server

In this case, I'm messing around with a web api where everything was returning true. But I don't want web servers running locally with root privs all the time.

So, I sat down to figure out how systemd does the socket activation, and built in that.

Working example of doing http socket handover from systemd => python.

systemd-test is a simple "set environment and mess around" that spawns httpd-true.

You can’t perform that action at this time.