source: box/trunk/contrib/solaris/bbackupd-manifest.xml.in @ 2035

Revision 2035, 1.3 KB checked in by chris, 4 years ago (diff)

Move distribution/boxbackup/contrib to the root directory of the project,
where people expect to find it, and we can write our configure scripts
to customise the files therein.

Add solaris SMF framework control files, by Ben Summers.

Line 
1<?xml version="1.0"?>
2<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3<service_bundle type='manifest' name='FLUFFYbox:bbackupd'>
4<service
5        name='network/bbackupd'
6        type='service'
7        version='1'>
8
9<create_default_instance enabled='true' />
10
11<single_instance />
12
13<dependency
14    name='fs-local'
15    grouping='require_all'
16    restart_on='none'
17    type='service'>
18        <service_fmri value='svc:/system/filesystem/local' />
19</dependency>
20
21<dependency
22    name='network-service'
23    grouping='require_all'
24    restart_on='none'
25    type='service'>
26        <service_fmri value='svc:/network/service' />
27</dependency>
28
29<dependency
30    name='name-services'
31    grouping='require_all'
32    restart_on='refresh'
33    type='service'>
34        <service_fmri value='svc:/milestone/name-services' />
35</dependency>
36
37
38<exec_method
39        type='method'
40        name='start'
41        exec='@prefix@/bbackupd-smf-method start'
42        timeout_seconds='60'/>
43
44<exec_method
45        type='method'
46        name='stop'
47        exec=':kill'
48        timeout_seconds='60' />
49
50<exec_method
51        type='method'
52        name='refresh'
53        exec='@prefix@/bbackupd-smf-method restart'
54        timeout_seconds='60' />
55
56<stability value='Evolving' />
57
58</service>
59</service_bundle>
Note: See TracBrowser for help on using the repository browser.