Return to dnsmasq.xml CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / dnsmasq / contrib / Solaris10 |
1.1 ! misho 1: <?xml version='1.0'?> ! 2: <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1"> ! 3: ! 4: <!-- Service manifest for dnsmasq --> ! 5: ! 6: <service_bundle type='manifest' name='dnsmasq'> ! 7: <service name='network/dnsmasq' type='service' version='1'> ! 8: ! 9: <create_default_instance enabled='false'/> ! 10: <single_instance/> ! 11: ! 12: <dependency name='multi-user' ! 13: grouping='require_all' ! 14: restart_on='refresh' ! 15: type='service'> ! 16: <service_fmri value='svc:/milestone/multi-user'/> ! 17: </dependency> ! 18: ! 19: <dependency name='config' ! 20: grouping='require_all' ! 21: restart_on='restart' ! 22: type='path'> ! 23: <service_fmri value='file:///usr/local/etc/dnsmasq.conf'/> ! 24: </dependency> ! 25: ! 26: <dependent name='dnsmasq_multi-user-server' ! 27: grouping='optional_all' ! 28: restart_on='none'> ! 29: <service_fmri value='svc:/milestone/multi-user-server' /> ! 30: </dependent> ! 31: ! 32: <exec_method type='method' name='start' ! 33: exec='/usr/local/sbin/dnsmasq -C /usr/local/etc/dnsmasq.conf' ! 34: timeout_seconds='60' > ! 35: <method_context> ! 36: <method_credential user='root' group='root' privileges='all'/> ! 37: </method_context> ! 38: </exec_method> ! 39: ! 40: <exec_method type='method' ! 41: name='stop' ! 42: exec=':kill' ! 43: timeout_seconds='60'/> ! 44: ! 45: <exec_method type='method' ! 46: name='refresh' ! 47: exec=':kill -HUP' ! 48: timeout_seconds='60' /> ! 49: ! 50: <template> ! 51: <common_name> ! 52: <loctext xml:lang='C'>dnsmasq server</loctext> ! 53: </common_name> ! 54: <description> ! 55: <loctext xml:lang='C'> ! 56: dnsmasq - A lightweight DHCP and caching DNS server. ! 57: </loctext> ! 58: </description> ! 59: <documentation> ! 60: <manpage title='dnsmasq' section='8' manpath='/usr/local/man'/> ! 61: </documentation> ! 62: </template> ! 63: ! 64: </service> ! 65: </service_bundle>