João writes: > I would like to have gpg-agent running under runit supervision on a user > runsvdir, but I have been unable to write a run script that works. > Would anyone have an example run script for gpg-agent, or be able to offer any > pointers? Not an answer to your question, but you might be interested to know before you spend too much time on it that GnuPG is removing support for running gpg-agent supervised: https://dev.gnupg.org/rGca5d5142c6d6eaba4572a086f8473e4aebdd3f9e