On Sun, Sep 11, 2005 at 09:22:14AM +0200, Francesco Paolo Lovergine wrote: > On Sun, Sep 11, 2005 at 04:51:37PM +1000, Andrew Pollock wrote: > > Package: proftpd > > Version: 1.2.10-15sarge1.0.1 > > Followup-For: Bug #41089 > > > > Hello, > > > > I've noticed this problem is still the case in the version in Sarge. > > ProFTPd supports a -t option to test the configuration, so it would be > > fairly trivial to test the configuration and refuse to reload/restart > > the daemon if the configuration is bogus. > > > > If you like, I can do up a patch, or you could take a look at the > > dhcp3-server init script for inspiration. > > > > For reasons (?) I don't remember, conftest is used in postinst, but not > in init. Mah! BTW, that scrpit requires a major revision anyway, due for 1.3.0 > and I'm quite annoyed to continue improvement on 1.2.10 series... >
I can't really see the init script needing to change between versions, so why not just fix it now? I've modified my copy locally, because I really don't want to take down the FTP server every time I bollocks up the configuration. regards Andrew -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

