proftpd startup script

Jakub Bogusz qboosh at pld.org.pl
Tue Feb 4 13:15:35 CET 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.


-- 
Jakub Bogusz    http://www.cs.net.pl/~qboosh/



More information about the pld-devel-en mailing list