Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

Latest commit

 

History

History
8 lines (6 loc) · 542 Bytes

README.md

File metadata and controls

8 lines (6 loc) · 542 Bytes

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.