2 .\" Copyright (C) 2003, Sun Microsystems, Inc. All Rights Reserved
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH FTPRESTART 1M "May 1, 2003"
8 ftprestart \- restart previously shutdown FTP Servers
12 \fBftprestart\fR [\fB-V\fR]
18 Use the \fBftprestart\fR command to restart an FTP Server previously shut down
19 by means of \fBftpshut\fR(1M). The \fBftprestart\fR command reads the
20 \fBshutdown\fR capability from the \fBftpaccess\fR(4) file to determine the
21 path of the shutdown message files. It then reenables the FTP Server by
22 removing any shutdown message files in the anonymous and virtual FTP Server
23 area, as well as the system wide shutdown message file.
27 The \fBftprestart\fR command supports the following options:
34 Display program copyright and version information, then terminate.
39 \fBExample 1 \fRSample Output from \fBftprestart\fR
42 The following example shows sample output from the \fBftprestart\fR command:
47 example% \fBftprestart\fR
48 ftprestart: /export/home/ftp/etc/ftpd/shutdown.msg removed.
49 ftprestart: /export/home/virtual1/etc/ftpd/shutdown.msg removed.
50 ftprestart: /etc/ftpd/shutdown.msg removed.
58 The following exit values are returned:
65 Successful completion.
81 \fB\fB/etc/ftpd/ftpaccess\fR\fR
90 \fB\fB/etc/ftpd/ftpservers\fR\fR
99 See \fBattributes\fR(5) for descriptions of the following attributes:
107 ATTRIBUTE TYPE ATTRIBUTE VALUE
109 Interface Stability External
115 \fBftpshut\fR(1M), \fBin.ftpd\fR(1M), \fBftpaccess\fR(4), \fBftpservers\fR(4),