snort.xml revision 213
213N/A<?xml version="1.0"?>
213N/A<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
213N/A<!--
213N/A CDDL HEADER START
213N/A
213N/A The contents of this file are subject to the terms of the
213N/A Common Development and Distribution License (the "License").
213N/A You may not use this file except in compliance with the License.
213N/A
213N/A You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
213N/A or http://www.opensolaris.org/os/licensing.
213N/A See the License for the specific language governing permissions
213N/A and limitations under the License.
213N/A
213N/A When distributing Covered Code, include this CDDL HEADER in each
213N/A file and include the License file at usr/src/OPENSOLARIS.LICENSE.
213N/A If applicable, add the following below this CDDL HEADER, with the
213N/A fields enclosed by brackets "[]" replaced with your own identifying
213N/A information: Portions Copyright [yyyy] [name of copyright owner]
213N/A
213N/A CDDL HEADER END
213N/A
213N/A Copyright (c) 2009, 2011, Oracle and/or its affiliates. All rights reserved.
213N/A
213N/A NOTE: This service manifest is not editable; its contents will
213N/A be overwritten by package or patch operations, including
213N/A operating system upgrade. Make customizations in a different
213N/A file.
213N/A-->
213N/A
213N/A<service_bundle type='manifest' name='SUNWsnortr:snort'>
213N/A
213N/A<service
213N/A name='network/snort'
213N/A type='service'
213N/A version='1'>
213N/A
213N/A <create_default_instance enabled='false' />
213N/A
213N/A <single_instance />
213N/A
213N/A <dependency name='fs-local'
213N/A grouping='require_all'
213N/A restart_on='none'
213N/A type='service'>
213N/A <service_fmri
213N/A value='svc:/system/filesystem/local' />
213N/A </dependency>
213N/A
213N/A <dependency name='fs-autofs'
213N/A grouping='optional_all'
213N/A restart_on='none'
213N/A type='service'>
213N/A <service_fmri value='svc:/system/filesystem/autofs' />
213N/A </dependency>
213N/A
213N/A <dependency
213N/A name='network'
213N/A grouping='optional_all'
213N/A restart_on='error'
213N/A type='service'>
213N/A <service_fmri value='svc:/milestone/network' />
213N/A </dependency>
213N/A
213N/A <dependency name='net-loopback'
213N/A grouping='require_all'
213N/A restart_on='none'
213N/A type='service'>
213N/A <service_fmri value='svc:/network/loopback' />
213N/A </dependency>
213N/A
213N/A <dependency name='net-physical'
213N/A grouping='require_all'
213N/A restart_on='none'
213N/A type='service'>
213N/A <service_fmri value='svc:/network/physical' />
213N/A </dependency>
213N/A
213N/A <exec_method
213N/A type='method'
213N/A name='start'
213N/A exec='/lib/svc/method/snortd start'
213N/A timeout_seconds='60'>
213N/A <method_context>
213N/A <method_credential
213N/A user='noaccess'
213N/A group='noaccess'
213N/A privileges='basic,net_rawaccess' />
213N/A </method_context>
213N/A </exec_method>
213N/A
213N/A <exec_method
213N/A type='method'
213N/A name='stop'
213N/A exec=':kill -9'
213N/A timeout_seconds='60' />
213N/A
213N/A <property_group name='startd'
213N/A type='framework'>
213N/A <!-- sub-process core dumps shouldn't restart session -->
213N/A <propval name='ignore_error'
213N/A type='astring' value='core,signal' />
213N/A </property_group>
213N/A
213N/A <property_group name='general' type='framework'>
213N/A <!-- to start stop snortd -->
213N/A <propval name='action_authorization' type='astring'
213N/A value='solaris.smf.manage.snort' />
213N/A <propval name='value_authorization' type='astring'
213N/A value='solaris.smf.manage.snort' />
213N/A </property_group>
213N/A
213N/A <stability value='Unstable' />
213N/A
213N/A <template>
213N/A <common_name>
213N/A <loctext xml:lang='C'>
213N/A Snort daemon
213N/A </loctext>
213N/A </common_name>
213N/A <documentation>
213N/A <manpage title='snort' section='1M' manpath='/usr/share/man' />
213N/A </documentation>
213N/A </template>
213N/A
213N/A</service>
213N/A
213N/A</service_bundle>