ProFTPD manifest xml for opensolaris
In order to start/stop/refresh proftpd using SMF method, you need two files, the manifest xml file and the start/stop/refresh proftpd script. First, the xml file: <?xml version="1.0"?> <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1"> <service_bundle type="manifest" name="proftpd-server"> <service name="network/proftpd-server" type="service" version="1"> <create_default_instance enabled="false"> <single_instance> <dependency name='net-loopback' grouping='require_all' restart_on='none' type='service'> <service_fmri value="'svc:/network/loopback'"> </dependency> <dependency name='net-physical' grouping='require_all' ...