1 | <?xml version='1.0'?>
|
---|
2 | <!--
|
---|
3 | # innotek VirtualBox
|
---|
4 | # Solaris SMF service manifest for VBoxService (timesync).
|
---|
5 | #
|
---|
6 | # Copyright (C) 2008 innotek GmbH
|
---|
7 | #
|
---|
8 | # innotek GmbH confidential
|
---|
9 | # All rights reserved
|
---|
10 | #
|
---|
11 | -->
|
---|
12 | <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
|
---|
13 |
|
---|
14 | <service_bundle type='manifest' name='export'>
|
---|
15 |
|
---|
16 | <service
|
---|
17 | name='system/virtualbox/vboxservice'
|
---|
18 | type='service'
|
---|
19 | version='1'>
|
---|
20 |
|
---|
21 | <create_default_instance enabled='false' />
|
---|
22 |
|
---|
23 | <single_instance/>
|
---|
24 |
|
---|
25 | <!-- Wait for devices to be initialized as we depend on vboxguest (PCI) -->
|
---|
26 | <dependency
|
---|
27 | name='milestone'
|
---|
28 | grouping='require_all'
|
---|
29 | restart_on='none'
|
---|
30 | type='service'>
|
---|
31 | <service_fmri value='svc:/milestone/devices:default' />
|
---|
32 | </dependency>
|
---|
33 |
|
---|
34 | <!-- Wait for local filesystems to be mounted (just to be safe, don't start too early) -->
|
---|
35 | <dependency
|
---|
36 | name='filesystem-local'
|
---|
37 | grouping='require_all'
|
---|
38 | restart_on='none'
|
---|
39 | type='service'>
|
---|
40 | <service_fmri value='svc:/system/filesystem/local:default' />
|
---|
41 | </dependency>
|
---|
42 |
|
---|
43 | <exec_method
|
---|
44 | type='method'
|
---|
45 | name='start'
|
---|
46 | exec='/usr/bin/VBoxService'
|
---|
47 | timeout_seconds='30' >
|
---|
48 | </exec_method>
|
---|
49 |
|
---|
50 | <exec_method
|
---|
51 | type='method'
|
---|
52 | name='stop'
|
---|
53 | exec=':kill'
|
---|
54 | timeout_seconds='60' />
|
---|
55 |
|
---|
56 | <template>
|
---|
57 | <common_name>
|
---|
58 | <loctext xml:lang='C'>VirtualBox Time Synchronize Daemon.</loctext>
|
---|
59 | </common_name>
|
---|
60 | </template>
|
---|
61 | </service>
|
---|
62 |
|
---|
63 | </service_bundle>
|
---|
64 |
|
---|