2408N/A<?xml version='1.0'?>
2408N/A<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
2408N/A<!--
2408N/A Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
2408N/A
2408N/A This program is free software; you can redistribute it and/or modify
2408N/A it under the terms of the GNU General Public License as published by
2408N/A the Free Software Foundation; either version 2 of the License, or
2408N/A (at your option) any later version.
2408N/A
2408N/A This program is distributed in the hope that it will be useful,
2408N/A but WITHOUT ANY WARRANTY; without even the implied warranty of
2408N/A MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2408N/A GNU General Public License for more details.
2408N/A
2408N/A You should have received a copy of the GNU General Public License along
2408N/A with this program; if not, write to the Free Software Foundation, Inc.,
2408N/A 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
2408N/A
2408N/A NOTE: This service manifest is not editable; its contents will
2408N/A be overwritten by package or patch operations, including
2408N/A operating system upgrade. Make customizations in a different
2408N/A file.
2408N/A-->
2408N/A
2408N/A<service_bundle type='manifest' name='dnsmasq'>
2408N/A
2408N/A <service name='network/dnsmasq' type='service' version='1'>
2408N/A
2408N/A <dependency name='multi-user'
2408N/A grouping='require_all'
2408N/A restart_on='refresh'
2408N/A type='service'>
2408N/A <service_fmri value='svc:/milestone/multi-user'/>
2408N/A </dependency>
2408N/A
2408N/A <!-- dnsmasq is incompatible with running BIND, ISC DHCP, and TFTP -->
2408N/A <dependency name='exclude-bind'
2408N/A grouping='exclude_all'
2408N/A restart_on='none'
2408N/A type='service'>
2408N/A <service_fmri value='svc:/network/dns/server'/>
2408N/A </dependency>
2408N/A
2408N/A <dependency name='exclude-dhcp-relay'
2408N/A grouping='exclude_all'
2408N/A restart_on='none'
2408N/A type='service'>
2408N/A <service_fmri value='svc:/network/dhcp/relay'/>
2408N/A </dependency>
2408N/A
2408N/A <dependency name='exclude-dhcp-server'
2408N/A grouping='exclude_all'
2408N/A restart_on='none'
2408N/A type='service'>
2408N/A <service_fmri value='svc:/network/dhcp/server'/>
2408N/A </dependency>
2408N/A
2408N/A <dependency name='exclude-tftp'
2408N/A grouping='exclude_all'
2408N/A restart_on='none'
2408N/A type='service'>
2408N/A <service_fmri value='svc:/network/tftp/udp6'/>
2408N/A </dependency>
2408N/A
2408N/A <exec_method type='method' name='start'
2408N/A exec='/usr/lib/inet/dnsmasq'
2408N/A timeout_seconds='60' >
2408N/A <method_context>
2408N/A <method_credential user='daemon' group='daemon'
2503N/A privileges='basic,{net_privaddr}:53/udp,{net_privaddr}:53/tcp,{net_privaddr}:67/udp,{net_privaddr}:69/udp,{net_privaddr}:547/udp,net_icmpaccess,sys_ip_config' />
2408N/A </method_context>
2408N/A </exec_method>
2408N/A
2408N/A <exec_method type='method' name='stop' exec=':kill' timeout_seconds='60' />
2408N/A
2408N/A <instance name='default' enabled='false'>
2408N/A <!-- to start/stop/refresh the service -->
2408N/A <property_group name='general' type='framework'>
2408N/A <propval name='action_authorization' type='astring'
2408N/A value='solaris.smf.manage.dnsmasq' />
2408N/A <propval name='value_authorization' type='astring'
2408N/A value='solaris.smf.value.dnsmasq' />
2408N/A </property_group>
2408N/A </instance>
2408N/A
2408N/A <template>
2408N/A <common_name>
2408N/A <loctext xml:lang='C'>dnsmasq server</loctext>
2408N/A </common_name>
2408N/A <description>
2408N/A <loctext xml:lang='C'>
2408N/A dnsmasq(8) is a lightweight DNS, TFTP, PXE, router advertisement and
2408N/A DHCP server. It is intended to provide coupled DNS and DHCP service
2408N/A to a LAN.
2408N/A </loctext>
2408N/A </description>
2408N/A <documentation>
2408N/A <manpage title='dnsmasq' section='8' manpath='/usr/share/man'/>
2408N/A </documentation>
2408N/A </template>
2408N/A
2408N/A </service>
2408N/A</service_bundle>