blob: 33f1c047bc8b410312e2f4b3da6f4bfedcd5a488 [file] [log] [blame] [raw]
<?xml version="1.0"?>
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
<service_bundle type="manifest" name="ipfilter">
<service name="network/ipmon" type="service" version="1">
<create_default_instance enabled="false" />
<single_instance />
<dependency name="filesystem" grouping="require_all" restart_on="none" type="service">
<service_fmri value="svc:/system/filesystem/local" />
</dependency>
<dependency name="identity" grouping="require_all" restart_on="restart" type="service">
<service_fmri value="svc:/system/identity:node" />
</dependency>
<dependency name="syslog" grouping="require_all" restart_on="none" type="service">
<service_fmri value="svc:/system/system-log" />
</dependency>
<dependency name="ipfilter" grouping="require_all" restart_on="none" type="service">
<service_fmri value="svc:/network/ipfilter" />
</dependency>
<exec_method type="method" name="start" exec="/opt/ipfilter/bin/ipmon -s" timeout_seconds="60" />
<exec_method type="method" name="stop" exec=":kill" timeout_seconds="60" />
<property_group name="startd" type="framework">
<propval name="duration" type="astring" value="child" />
<propval name="ignore_error" type="astring" value="core,signal" />
</property_group>
<stability value="Unstable" />
<template>
<common_name>
<loctext xml:lang="C">IP Filter Monitor</loctext>
</common_name>
<description>
<loctext xml:lang="C">
monitors for logged packets by IP Filter
</loctext>
</description>
<documentation>
<manpage title="ipmon" section="1M" manpath="/opt/ipfilter/share/man" />
<manpage title="ipfilter" section="5" manpath="/opt/ipfilter/share/man" />
</documentation>
</template>
</service>
</service_bundle>