Re: Bug#922353: ITP: socket-activate -- Run a socket-activated daemon with minimal dependencies
- Date: Fri, 15 Feb 2019 17:24:24 +0100
- From: Andrej Shadura <andrew@xxxxxxxxxx>
- Subject: Re: Bug#922353: ITP: socket-activate -- Run a socket-activated daemon with minimal dependencies
On Fri, 15 Feb 2019 at 16:46, Daniel Kahn Gillmor <dkg@xxxxxxxxxxxxxxxxx> wrote:
> Control: clone 922353 -2
> Control: reassign -2 dpkg
> Control: retitle -2 start-stop-daemon should support socket-activation via the sd_listen_fds(3) convention
> Control: severity -2 wishlist
> On Fri 2019-02-15 04:34:47 +0100, Guillem Jover wrote:
> > Another option would be to implement this in start-stop-daemon, like
> > the similar support for the systemd readiness protocol was recently
> > implemented there too.
> Thanks for the suggestion! How widely-distributed is start-stop-daemon
> outside of debian? I see it's been ported to OpenBSD; are they
> syncing from upstream?
> The code i have is just python3 right now (simple argument parsing made
> development much quicker), but it's not too terrible to do it in C.
> It's great to hear that the dpkg codebase would welcome such a feature
> addition if it's done right!
> I'm opening this as a wishlist issue for dpkg just so we don't lose
> track of it, since it might take me some cycles to get the C
> implementation in shape. If anyone else wants to beat me to it, i
> certainly wouldn't complain :)
Speaking of which, maybe it would also make sense to merge my changes in?