Skip to content

a simple httpd daemon in python, demonstrating socket activation via systemd

License

Notifications You must be signed in to change notification settings

Spindel/systemd-socketactivation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

a simple httpd daemon in python, demonstrating socket activation via systemd

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages