xref: /titanic_41/usr/src/cmd/fs.d/nfs/svc/nfslogd.xml (revision 4191ce11b7a4c9ac19d88acf17d30fd50a4464b0)
1<?xml version="1.0"?>
2<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3<!--
4  This file and its contents are supplied under the terms of the
5  Common Development and Distribution License ("CDDL"), version 1.0.
6  You may only use this file in accordance with the terms of version
7  1.0 of the CDDL.
8
9  A full copy of the text of the CDDL should have accompanied this
10  source.  A copy of the CDDL is also available via the Internet at
11  http://www.illumos.org/license/CDDL.
12
13
14  Copyright 2012 Nexenta Systems, Inc.  All rights reserved.
15-->
16
17<service_bundle type='manifest' name='SUNWnfssr:nfslogd'>
18
19<service
20	name='network/nfs/log'
21	type='service'
22	version='1'>
23
24	<dependency name='nfs-server'
25	    grouping='require_all'
26	    restart_on='refresh'
27	    type='service'>
28		<service_fmri value='svc:/network/nfs/server' />
29	</dependency>
30
31	<dependency name='filesystem-minimal'
32	    grouping='require_all'
33	    restart_on='error'
34	    type='service'>
35		<service_fmri value='svc:/system/filesystem/minimal' />
36	</dependency>
37
38	<exec_method
39	    type='method'
40	    name='start'
41	    exec='/usr/lib/nfs/nfslogd'
42	    timeout_seconds='60' />
43
44	<exec_method
45	    type='method'
46	    name='stop'
47	    exec=':kill -TERM'
48	    timeout_seconds='10' />
49
50	<instance name='default' enabled='false'>
51	</instance>
52
53	<stability value='Stable' />
54
55	<template>
56		<common_name>
57			<loctext xml:lang='C'>
58				NFS log daemon
59			</loctext>
60		</common_name>
61		<documentation>
62			<manpage title='nfslogd' section='1M'
63				manpath='/usr/share/man' />
64		</documentation>
65	</template>
66</service>
67
68</service_bundle>
69