paul | 1b414a1 | 2005-04-11 07:05:21 +0000 | [diff] [blame] | 1 | <?xml version="1.0"?> |
| 2 | <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1"> |
| 3 | <!-- |
| 4 | Copyright 2005 Sun Microsystems, Inc. All rights reserved. |
| 5 | Use is subject to license terms. |
| 6 | |
jardin | 05f0107 | 2005-04-20 09:38:17 +0000 | [diff] [blame] | 7 | $Id: ripngd.xml.in,v 1.2 2005/04/20 09:38:17 jardin Exp $ |
paul | 1b414a1 | 2005-04-11 07:05:21 +0000 | [diff] [blame] | 8 | --> |
| 9 | |
| 10 | <service_bundle type='manifest' name='QUAGGAdaemons:ripngd'> |
| 11 | |
| 12 | <service |
| 13 | name='network/rip6' |
| 14 | type='service' |
| 15 | version='1'> |
| 16 | |
| 17 | <create_default_instance enabled='false' /> |
| 18 | |
| 19 | <single_instance /> |
| 20 | |
| 21 | <dependency name='fs' |
| 22 | grouping='require_all' |
| 23 | restart_on='none' |
| 24 | type='service'> |
| 25 | <service_fmri |
| 26 | value='svc:/system/filesystem/usr:default' /> |
| 27 | </dependency> |
| 28 | |
| 29 | <dependency name='net' |
| 30 | grouping='require_all' |
| 31 | restart_on='none' |
| 32 | type='service'> |
| 33 | <service_fmri value='svc:/network/loopback' /> |
| 34 | </dependency> |
| 35 | |
| 36 | <dependency name='zebra' |
| 37 | grouping='require_all' |
| 38 | restart_on='restart' |
| 39 | type='service'> |
| 40 | <service_fmri value='svc:/network/zebra' /> |
| 41 | </dependency> |
| 42 | |
| 43 | <dependency name='config_data' |
| 44 | grouping='require_all' |
| 45 | restart_on='restart' |
| 46 | type='path'> |
| 47 | <service_fmri |
| 48 | value='file://localhost/@sysconfdir@/ripngd.conf' /> |
| 49 | </dependency> |
| 50 | |
| 51 | <exec_method |
| 52 | type='method' |
| 53 | name='start' |
| 54 | exec='/lib/svc/method/quagga start svc:/network/rip6' |
| 55 | timeout_seconds='60'/> |
| 56 | |
| 57 | <exec_method |
| 58 | type='method' |
| 59 | name='stop' |
| 60 | exec='/lib/svc/method/quagga stop svc:/network/rip6' |
| 61 | timeout_seconds='60' /> |
| 62 | |
| 63 | <exec_method |
| 64 | type='method' |
| 65 | name='restart' |
| 66 | exec='/lib/svc/method/quagga restart svc:/network/rip6' |
| 67 | timeout_seconds='60' /> |
| 68 | |
| 69 | <property_group name='startd' |
| 70 | type='framework'> |
| 71 | <!-- sub-process core dumps shouldn't restart session --> |
| 72 | <propval name='ignore_error' |
| 73 | type='astring' value='core,signal' /> |
| 74 | </property_group> |
| 75 | |
| 76 | <property_group name='ripngd' type='application'> |
| 77 | <stability value='Evolving' /> |
| 78 | <propval name='retain_routes' type='boolean' value='false'/> |
| 79 | </property_group> |
| 80 | |
| 81 | <property_group name='@PACKAGE_NAME@' type='application'> |
| 82 | <stability value='Evolving' /> |
| 83 | <!-- Options common to @PACKAGE_NAME@ daemons --> |
| 84 | <!-- cant make XInclude validate with svccfg --> |
| 85 | <propval name='daemon_name' type='astring' value='ripngd' /> |
| 86 | <propval name='config_file' type='astring' |
| 87 | value='@sysconfdir@/ripngd.conf' /> |
| 88 | <propval name='pid_file' type='astring' |
| 89 | value='@localstatedir@/ripngd.pid' /> |
| 90 | <propval name='vty_addr' type='astring' value='127.1' /> |
| 91 | <propval name='vty_port' type='integer' value='0'/> |
| 92 | <propval name='user' type='astring' value='@enable_user@' /> |
| 93 | <propval name='group' type='astring' value='@enable_group@' /> |
| 94 | |
| 95 | <!-- |
| 96 | <xi:include href='file:/var/svc/profile/@PACKAGE_TARNAME@_options.xml' /> |
| 97 | --> |
| 98 | </property_group> |
| 99 | |
| 100 | <stability value='Unstable' /> |
| 101 | |
| 102 | <template> |
| 103 | <common_name> |
| 104 | <loctext xml:lang='C'> |
jardin | 05f0107 | 2005-04-20 09:38:17 +0000 | [diff] [blame] | 105 | @PACKAGE_NAME@: ripngd, RIPng IPv6 routing protocol daemon. |
paul | 1b414a1 | 2005-04-11 07:05:21 +0000 | [diff] [blame] | 106 | </loctext> |
| 107 | </common_name> |
| 108 | <documentation> |
| 109 | <manpage title='ripngd' section='1M' manpath='@mandir@' /> |
| 110 | </documentation> |
| 111 | </template> |
| 112 | |
| 113 | </service> |
| 114 | |
| 115 | </service_bundle> |