VirtualBox

source: vbox/trunk/src/VBox/Additions/solaris/Installer/vboxservice.xml

Last change on this file was 101937, checked in by vboxsync, 7 months ago

Additions/solaris/{Installer,vboxms,vboxservice}: Add support for the
Solaris Guest Additions to be installed into an alternate root path
('pkgad -R'). This also enables the Solaris GAs to be installed in an
automated fashion when building Solaris images using the distribution
constructor (aka the distro_const(8) utility).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id Revision
File size: 2.7 KB
Line 
1<?xml version='1.0'?>
2<!--
3#
4# Solaris SMF service manifest for VBoxService (timesync).
5#
6-->
7<!--
8 Copyright (C) 2008-2023 Oracle and/or its affiliates.
9
10 This file is part of VirtualBox base platform packages, as
11 available from https://www.virtualbox.org.
12
13 This program is free software; you can redistribute it and/or
14 modify it under the terms of the GNU General Public License
15 as published by the Free Software Foundation, in version 3 of the
16 License.
17
18 This program is distributed in the hope that it will be useful, but
19 WITHOUT ANY WARRANTY; without even the implied warranty of
20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21 General Public License for more details.
22
23 You should have received a copy of the GNU General Public License
24 along with this program; if not, see <https://www.gnu.org/licenses>.
25
26 The contents of this file may alternatively be used under the terms
27 of the Common Development and Distribution License Version 1.0
28 (CDDL), a copy of it is provided in the "COPYING.CDDL" file included
29 in the VirtualBox distribution, in which case the provisions of the
30 CDDL are applicable instead of those of the GPL.
31
32 You may elect to license modified versions of this file under the
33 terms and conditions of either the GPL or the CDDL or both.
34
35 SPDX-License-Identifier: GPL-3.0-only OR CDDL-1.0
36-->
37<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
38
39<service_bundle type='manifest' name='SUNWvboxguest:vboxservice'>
40
41<service
42 name='application/virtualbox/vboxservice'
43 type='service'
44 version='1'>
45
46 <create_default_instance enabled='true' />
47
48 <single_instance/>
49
50 <!-- Wait for devices to be initialized as we depend on vboxguest (PCI) -->
51 <dependency
52 name='milestone'
53 grouping='require_all'
54 restart_on='none'
55 type='service'>
56 <service_fmri value='svc:/milestone/devices:default' />
57 </dependency>
58
59 <!-- Wait for local filesystems to be mounted (just to be safe, don't start too early) -->
60 <dependency
61 name='filesystem-local'
62 grouping='require_all'
63 restart_on='none'
64 type='service'>
65 <service_fmri value='svc:/system/filesystem/local:default' />
66 </dependency>
67
68 <exec_method
69 type='method'
70 name='start'
71 exec='/usr/bin/VBoxService'
72 timeout_seconds='30' />
73
74 <exec_method
75 type='method'
76 name='stop'
77 exec=':kill'
78 timeout_seconds='60' />
79
80 <template>
81 <common_name>
82 <loctext xml:lang='C'>VirtualBox Service.</loctext>
83 </common_name>
84 </template>
85</service>
86
87</service_bundle>
88
Note: See TracBrowser for help on using the repository browser.

© 2023 Oracle
ContactPrivacy policyTerms of Use