[GLLUG] trying to write a script And how to restart pure-ftpd

Scott Harrison harris41 at msu.edu
Fri Oct 17 23:26:36 EDT 2003


On Fri, 2003-10-17 at 16:28, Seth Bembeneck wrote:
> And how do I restart the Pure-ftpd server?

Reboot the computer.

Okay, just kidding.

Does it have an init script?

[sharrison at mybox sharrison]$ rpm -ql pure-ftpd | grep init
/etc/rc.d/init.d/pure-ftpd

Yes!

What is the usage?

[sharrison at mybox sharrison]$ /etc/rc.d/init.d/pure-ftpd
Usage: {start|stop|restart|condrestart|status}

So... (as root)
/etc/rc.d/init.d/pure-ftpd restart

Regards,
Scott

-- 
Scott Harrison <harris41 at msu.edu>
Michigan State University



More information about the linux-user mailing list