proftpd startup script

lubos klokner lubos at klokner.sk
Tue Feb 4 13:46:11 CET 2003


* Jakub Bogusz <qboosh at pld.org.pl> (04.02.2003):
> On Tue, Feb 04, 2003 at 12:58:26PM +0100, Mariusz Mazur wrote:
> > On Tuesday 04 February 2003 12:39, lubos klokner wrote:
> > > but
> > > i think, that should by nice to add next few lines into
> > > /etc/rc.d/init.d/proftpd:
> > >   reread)
> > >     if [ -f /var/lock/subsys/proftpd ]; then
> > >       msg_reloading ProFTPD
> > >       killproc proftpd -HUP
> > >     else
> > >       msg_not_running ProFTPD
> > >     fi
> > >   ;;
> > >
> > > msg_usage "$0 {start|stop|reread|restart|status}"
> > 
> > Afaik this functionality is always implemented as reload. If it really works 
> > I'll add it.
> 
> "reload" is implemented just as restart in proftpd.init.
> If it wouldn't break anything, it could be changed to HUP.

no, i think, that "restart" is completely different thing than "reload".
restart stops server and drops all connections, but
reload only change configuration for new connections.
both of these options are important and needed !

-- 
lubos klokner <lubos at klokner.sk>



More information about the pld-devel-en mailing list