Bug#727708: upstart and upgrading from sysvinit scripts
Uoti Urpala <firstname.lastname@example.org> writes:
> Adding the mentioned Requires=lbcd.socket line should ensure that the
> service is never started without the socket running. I'm quite sure that
> daemons intended to run under systemd should have no need to implement
> any socket-opening code themselves (unless they do something special
> like opening a socket in the middle of operation); anything which would
> contradict that should be a misunderstanding or a bug.
Oh, good point, yes. That's pretty clear from daemon(7), now that you
mention it in that light.
Okay, I'll take this approach in the next upload, after I get a chance to
do some more experimentation with what that does with start and stop
Thank you for the review. This was really helpful.
Russ Allbery (email@example.com) <http://www.eyrie.org/~eagle/>