1 | <?xml version='1.0'?>
|
---|
2 | <!--
|
---|
3 | #
|
---|
4 | # Solaris SMF service manifest for VBoxService (timesync).
|
---|
5 | #
|
---|
6 | Copyright (C) 2012-2020 Oracle Corporation
|
---|
7 |
|
---|
8 | This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
9 | available from http://www.virtualbox.org. This file is free software;
|
---|
10 | you can redistribute it and/or modify it under the terms of the GNU
|
---|
11 | General Public License (GPL) as published by the Free Software
|
---|
12 | Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
13 | VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
14 | hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
15 |
|
---|
16 | The contents of this file may alternatively be used under the terms
|
---|
17 | of the Common Development and Distribution License Version 1.0
|
---|
18 | (CDDL) only, as it comes in the "COPYING.CDDL" file of the
|
---|
19 | VirtualBox OSE distribution, in which case the provisions of the
|
---|
20 | CDDL are applicable instead of those of the GPL.
|
---|
21 |
|
---|
22 | You may elect to license modified versions of this file under the
|
---|
23 | terms and conditions of either the GPL or the CDDL or both.
|
---|
24 | -->
|
---|
25 | <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
|
---|
26 |
|
---|
27 | <service_bundle type='manifest' name='SUNWvboxguest:vboxmslnk'>
|
---|
28 |
|
---|
29 | <service
|
---|
30 | name='application/virtualbox/vboxmslnk'
|
---|
31 | type='service'
|
---|
32 | version='1'>
|
---|
33 |
|
---|
34 | <create_default_instance enabled='false' />
|
---|
35 |
|
---|
36 | <single_instance/>
|
---|
37 |
|
---|
38 | <!-- Wait for devices to be initialized as we depend on vboxms (pseudo) -->
|
---|
39 | <dependency
|
---|
40 | name='milestone'
|
---|
41 | grouping='require_all'
|
---|
42 | restart_on='none'
|
---|
43 | type='service'>
|
---|
44 | <service_fmri value='svc:/milestone/devices:default' />
|
---|
45 | </dependency>
|
---|
46 |
|
---|
47 | <!-- Wait for local filesystems to be mounted (just to be safe, don't start too early) -->
|
---|
48 | <dependency
|
---|
49 | name='filesystem-local'
|
---|
50 | grouping='require_all'
|
---|
51 | restart_on='none'
|
---|
52 | type='service'>
|
---|
53 | <service_fmri value='svc:/system/filesystem/local:default' />
|
---|
54 | </dependency>
|
---|
55 |
|
---|
56 | <exec_method
|
---|
57 | type='method'
|
---|
58 | name='start'
|
---|
59 | exec='/usr/sbin/vboxmslnk'
|
---|
60 | timeout_seconds='30' />
|
---|
61 |
|
---|
62 | <exec_method
|
---|
63 | type='method'
|
---|
64 | name='stop'
|
---|
65 | exec=':true'
|
---|
66 | timeout_seconds='60' />
|
---|
67 |
|
---|
68 | <property_group name='startd' type='framework'>
|
---|
69 | <propval name='duration' type='astring' value='transient' />
|
---|
70 | </property_group>
|
---|
71 |
|
---|
72 | <template>
|
---|
73 | <common_name>
|
---|
74 | <loctext xml:lang='C'>VirtualBox Mouse module link.</loctext>
|
---|
75 | </common_name>
|
---|
76 | </template>
|
---|
77 | </service>
|
---|
78 |
|
---|
79 | </service_bundle>
|
---|
80 |
|
---|