1 '\" te
   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"
   7 .SH NAME
   8 ftprestart \- restart previously shutdown FTP Servers
   9 .SH SYNOPSIS
  10 .LP
  11 .nf
  12 \fBftprestart\fR [\fB-V\fR]
  13 .fi
  14 
  15 .SH DESCRIPTION
  16 .sp
  17 .LP
  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.
  24 .SH OPTIONS
  25 .sp
  26 .LP
  27 The \fBftprestart\fR command supports the following options:
  28 .sp
  29 .ne 2
  30 .na
  31 \fB\fB-V\fR\fR
  32 .ad
  33 .RS 6n
  34 Display program copyright and version information, then terminate.
  35 .RE
  36 
  37 .SH EXAMPLES
  38 .LP
  39 \fBExample 1 \fRSample Output from \fBftprestart\fR
  40 .sp
  41 .LP
  42 The following example shows sample output from the \fBftprestart\fR command:
  43 
  44 .sp
  45 .in +2
  46 .nf
  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.
  51 .fi
  52 .in -2
  53 .sp
  54 
  55 .SH EXIT STATUS
  56 .sp
  57 .LP
  58 The following exit values are returned:
  59 .sp
  60 .ne 2
  61 .na
  62 \fB\fB0\fR \fR
  63 .ad
  64 .RS 6n
  65 Successful completion.
  66 .RE
  67 
  68 .sp
  69 .ne 2
  70 .na
  71 \fB>\fB0\fR\fR
  72 .ad
  73 .RS 6n
  74 An error occurred.
  75 .RE
  76 
  77 .SH FILES
  78 .sp
  79 .ne 2
  80 .na
  81 \fB\fB/etc/ftpd/ftpaccess\fR\fR
  82 .ad
  83 .RS 24n
  84 
  85 .RE
  86 
  87 .sp
  88 .ne 2
  89 .na
  90 \fB\fB/etc/ftpd/ftpservers\fR\fR
  91 .ad
  92 .RS 24n
  93 
  94 .RE
  95 
  96 .SH ATTRIBUTES
  97 .sp
  98 .LP
  99 See \fBattributes\fR(5) for descriptions of the following attributes:
 100 .sp
 101 
 102 .sp
 103 .TS
 104 box;
 105 c | c
 106 l | l .
 107 ATTRIBUTE TYPE  ATTRIBUTE VALUE
 108 _
 109 Interface Stability     External
 110 .TE
 111 
 112 .SH SEE ALSO
 113 .sp
 114 .LP
 115 \fBftpshut\fR(1M), \fBin.ftpd\fR(1M), \fBftpaccess\fR(4), \fBftpservers\fR(4),
 116 \fBattributes\fR(5)