Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.
/ sdnotify-proxy Public archive
forked from coreos/sdnotify-proxy

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

License

Notifications You must be signed in to change notification settings

zlabjp/sdnotify-proxy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 84.3%
  • Shell 15.7%