3 Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
7 The contents of this file are subject to the terms of the
8 Common Development and Distribution License (the "License").
9 You may not use this file except in compliance with the License.
11 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
12 or http://www.opensolaris.org/os/licensing.
13 See the License for the specific language governing permissions
14 and limitations under the License.
16 When distributing Covered Code, include this CDDL HEADER in each
17 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
18 If applicable, add the following below this CDDL HEADER, with the
19 fields enclosed by brackets "[]" replaced with your own identifying
20 information: Portions Copyright [yyyy] [name of copyright owner]
24 NOTE: This service manifest is not editable; its contents will
25 be overwritten by package or patch operations, including
26 operating system upgrade. Make customizations in a different
30 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
32 <service_bundle type='manifest' name='network/proftpd'>
33 <service name='network/proftpd' type='service' version='1'>
34 <create_default_instance enabled='false' />
38 <dependency name='net-service' grouping='require_all'
39 restart_on='none' type='service'>
40 <service_fmri value='svc:/network/service'/>
43 <dependency name='network' grouping='require_all'
44 restart_on='none' type='service'>
45 <service_fmri value='svc:/milestone/network'/>
48 <dependency name='filesystem-local' grouping='require_all'
49 restart_on='none' type='service'>
50 <service_fmri value='svc:/system/filesystem/local' />
53 <dependency name='name-services' grouping='require_all'
54 restart_on='none' type='service'>
55 <service_fmri value='svc:/milestone/name-services' />
61 exec='/usr/lib/inet/proftpd'
64 <method_credential user='root' group='root' />
68 <exec_method type='method'
74 <property_group name='general' type='framework'>
75 <!-- manage FTP server state -->
76 <propval name='action_authorization' type='astring'
77 value='solaris.smf.manage.ftp' />
78 <propval name='value_authorization' type='astring'
79 value='solaris.smf.manage.ftp' />
82 <property_group name='startd' type='framework'>
83 <propval name='duration' type='astring' value='contract'/>
84 <!-- sub-process core dumps shouldn't restart session -->
85 <propval name='ignore_error'
86 type='astring' value='core,signal' />
89 <property_group name='firewall_context' type='com.sun,fw_definition'>
90 <propval name='ipf_method' type='astring'
91 value='/lib/svc/method/svc-ftp ipfilter' />
94 <property_group name='firewall_config' type='com.sun,fw_configuration'>
95 <propval name='policy' type='astring' value='use_global' />
96 <propval name='apply_to' type='astring' value='' />
97 <propval name='exceptions' type='astring' value='' />
98 <propval name='value_authorization' type='astring'
99 value='solaris.smf.value.firewall.config' />
104 <loctext xml:lang='C'>
109 <manpage title='proftpd' section='1M'
110 manpath='/usr/share/man' />
111 <doc_link name='proftpd'
112 uri='file://usr/share/doc/proftpd/' />