Re: Implementing a helper for systemd's LISTEN_* environment variables using execline

2021-10-28 Thread Laurent Bercot
socket-helper { name1 /run/name1.socket name2 /run/name2.socket } prog Currently socket-helper is a shell script, as I haven't found a way to generate the unknown number of `s6-ipcserver-socketbinder /path/sock fdmove N 0` using just execline. Is this socket-helper (or an easier-to-implement

Implementing a helper for systemd's LISTEN_* environment variables using execline

2021-10-28 Thread Carlos Eduardo
I'm supervising the gpg-agent daemon using s6. Unfortunately, the only official way of getting it to cooperate with a supervision suite is by pre-opening sockets and passing information about them through systemd's LISTEN_* (LISTEN_PID, LISTEN_FDS, LISTEN_FDNAMES) environment variables. It'll only