Re: Restarting Daemons on package install/upgrade.
Greg Stark wrote:
> > On Fri, Dec 24, 1999 at 10:07:38AM +0100, Christian Kurz wrote:
> > > Well this works for people that use the "old" init-style with links in
> > > /etc/rc* and won't work for people like me that use file-rc. Please
> > > provide first a solution for both cases. Then we can send out bugreports
> > > and fix those packages.
> > I sometimes wish we could settle on some of these key technologies,
> > like the two rc schemes, and inetd versus xinetd. It would make a lot
> > of things similar. Imagine if we had two menu systems. Similar confusion
> > happens with the documentation systems.
> I disagree, I think we should settle on an interface that allows multiple
> implementations. Settling on the sysv init.d would be a tie us to something
Exactly. That's why there is update-rc.d for both sysvinit and
file-rc which are compatible, and that's why we have update-inetd
for both inetd implementations, though I don't know if they're
compatible. Compatible in the meaning of commandline-compatible
and same commandline arguments will result in about the same
Beware of bugs in the above code; I have only proved it correct,
not tried it. -- Donald E. Knuth
Please always Cc to me when replying to me on the lists.