xref: /illumos-gate/usr/src/cmd/varpd/varpd.xml (revision b8052df9f609edb713f6828c9eecc3d7be19dfb3)
1<?xml version="1.0"?>
2<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3<!--
4This file and its contents are supplied under the terms of the
5Common Development and Distribution License ("CDDL"), version 1.0.
6You may only use this file in accordance with the terms of version
71.0 of the CDDL.
8
9A full copy of the text of the CDDL should have accompanied this
10source.  A copy of the CDDL is also available via the Internet at
11http://www.illumos.org/license/CDDL.
12
13Copyright 2018, Joyent, Inc.
14Copyright 2020 OmniOS Community Edition (OmniOSce) Association.
15-->
16
17<service_bundle type="manifest" name="illumos:varpd" >
18
19	<service name="network/varpd" type="service" version="1" >
20
21		<create_default_instance enabled="false" />
22
23		<dependency name="varpd-datalink-management"
24			grouping="require_all"
25			restart_on="none"
26			type="service">
27			<service_fmri value="svc:/network/datalink-management:default" />
28		</dependency>
29
30		<dependency name="varpd-device-local"
31			grouping="require_all"
32			restart_on="none"
33			type="service">
34			<service_fmri value="svc:/system/device/local:default" />
35		</dependency>
36
37		<dependency name="varpd-filesystem-minimal"
38			grouping="require_all"
39			restart_on="none"
40			type="service">
41			<service_fmri value="svc:/system/filesystem/minimal:default" />
42		</dependency>
43
44		<dependent name='varpd-network-physical-default'
45			grouping='optional_all'
46			restart_on='none'>
47			<service_fmri value='svc:/network/physical:default' />
48		</dependent>
49
50		<exec_method
51			type="method"
52			name="start"
53			exec="/usr/lib/varpd/varpd"
54			timeout_seconds="60" />
55
56		<exec_method
57			type="method"
58			name="stop"
59			exec=":kill"
60			timeout_seconds="10" />
61
62		<property_group name='varpd' type='application'>
63			<property name='include_path' type='astring'>
64				<astring_list>
65					<value_node value='/usr/lib/varpd'/>
66				</astring_list>
67			</property>
68		</property_group>
69
70		<stability value='Unstable' />
71
72		<template>
73			<common_name>
74				<loctext xml:lang="C">virtual ARP daemon
75				</loctext>
76			</common_name>
77		</template>
78	</service>
79</service_bundle>
80