ftpshut
shut down all proftpd servers at a given time
- Provided by: proftpd-core (Version: 1.3.8.b+dfsg-1ubuntu0.1)
- Source: proftpd-dfsg
- Report a bug
shut down all proftpd servers at a given time
ftpshut [ -R ] [ -l min ] [ -d min ] time [ warning-message ]
The ftpshut command provides an automated shutdown procedure that a superuser can use to automagically disconnect current proftpd connections, and deny new connections. The command creates a control file as /etc/shutmsg to inform proftpd processes about an impending shutdown.
Proftpd servers can only be shutdown via ftpshut if a master daemon is running in standalone mode. Servers running in inetd mode will honor the shutdown message file created by ftpshut, however currently running servers may be chroot(2)ed, and unable to read the shutdown message control file.
It is possible to set an absolute shutdown time which is earlier than the current time. If this is the case, proftpd will not shutdown until the indicated time on the following day.
/usr/sbin/ftpshut
/etc/shutmsg
ProFTPD is written and maintained by a number of people, full credits can be found on http://www.proftpd.org/credits.html
inetd(8),ftp(1),proftpd(8),ftpwho(1),ftpcount(1)
Full documentation on ProFTPD, including configuration and FAQs, is available at http://www.proftpd.org/
For help/support, try the ProFTPD mailing lists, detailed on http://www.proftpd.org/lists.html
Report bugs at http://bugs.proftpd.org/