In xinetd's postinstall script I'm doing the following: If /etc/rc.d/init.d directory exists then put xinetd's startup script there. If -x /usr/sbin/chkconfig then execute "/usr/sbin/chkconfig --add xinetd".
Sergey Okhapkin Somerset, NJ ----- Original Message ----- From: "Christopher Faylor" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 21, 2002 11:40 PM Subject: Re: chkconfig package available for review/download > On Thu, Nov 21, 2002 at 08:26:36PM -0800, Joshua Daniel Franklin wrote: > >I've finally gotten around to reviewing this, it builds cleanly > >and works as advertised (like sysvinit/initscripts, with the provided > >sshd sample script). There isn't a post-install script or info page or > >anything--it's seems very straighforward. It has my vote. > > > >One question--since there is now a complete sysvinit framework, are > >we going to start encouraging service maintainers/submitters > >(exim, postgresql) to add a /etc/rc.d/init.d/foobar script? Should there > >be some new language telling prospective package contributors about this? > > I think it's premature for that however it would be interesting to have > to transform all of the "How do I get inetd/sshd/crond to start?" > questions into a "How do I get init to start?" question. > > What does everyone else think? > > cgf
