Skip to content
This repository has been archived by the owner on Sep 22, 2020. It is now read-only.
/ sdnotify-proxy Public archive

Proxy the sd_notify messages between systemd and process in a different cgroup

License

Notifications You must be signed in to change notification settings

coreos/sdnotify-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

sdnotify-proxy

This hack solves the problem of Docker containers running under systemd and wishing to make use of sd_notify facility. Because Docker containers end up running as child processes of Docker daemon, they are in a cgroup different from that of the service. systemd will thus not process sd_notify events from them.

This utility will proxy events between Docker container and systemd. It is launched with name of proxy socket and a command to execute. It will then start listening on the proxy socket and execute the command.

About

Proxy the sd_notify messages between systemd and process in a different cgroup

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published