File: downtimed.smf.xml

package info (click to toggle)
downtimed 0.6-4
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 592 kB
  • ctags: 177
  • sloc: sh: 1,447; ansic: 893; xml: 45; makefile: 18
file content (56 lines) | stat: -rw-r--r-- 1,363 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<?xml version="1.0" encoding="iso-8859-1" ?>

<!DOCTYPE service_bundle SYSTEM
	"/usr/share/lib/xml/dtd/service_bundle.dtd.1">

<!--
    SMF Manifest for downtimed.

    Copyright 2012 Mats Erik Andersson. All rights reserved.
    Licensed as 2-clause BSD license, identical to the text
    used by downtimed-0.5.
-->

<service_bundle type="manifest" name="downtimed">
	<service
		name="system/downtimed"
		type="service"
		version="1">
		<single_instance />
		<dependency
			name="usr"
			type="service"
			grouping="require_all"
			restart_on="none">
			<service_fmri value="svc:/system/filesystem/local" />
		</dependency>
		<exec_method
			type="method"
			name="start"
			exec="/usr/local/sbin/downtimed"
			timeout_seconds="15">
			<method_context>
				<method_credential user="root" group="root" />
			</method_context>
		</exec_method>
		<exec_method
			type="method"
			name="stop"
			exec=":kill"
			timeout_seconds="5" />
		<instance name="default" enabled="true" />
		<stability value="Unstable" />

		<template>
			<common_name>
				<loctext xml:lang="C">
					downtime cronograph
				</loctext>
			</common_name>
			<documentation>
				<manpage title="downtimed" section="8" manpath="/usr/local/share/man" />
				<manpage title="downtimes" section="1" manpath="/usr/local/share/man" />
			</documentation>
		</template>
	</service>
</service_bundle>