Bug#727708: upstart and upgrading from sysvinit scripts
Uoti Urpala <uoti.urpala@pp1.inet.fi> 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
(probably tomorrow).
Thank you for the review. This was really helpful.
--
Russ Allbery (rra@debian.org) <http://www.eyrie.org/~eagle/>
Reply to: