VirtualBox

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

Last change on this file since 41244 was 39235, checked in by vboxsync, 13 years ago

Additions/solaris: Fix VBoxService loading using manifest class actions. Classify VBoxService under "applications" rather than "system".

  • Property svn:eol-style set to native
File size: 2.4 KB
Line 
1<?xml version='1.0'?>
2<!--
3#
4# Solaris SMF service manifest for VBoxService (timesync).
5#
6 Copyright (C) 2008-2010 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:vboxservice'>
28
29<service
30 name='application/virtualbox/vboxservice'
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 vboxguest (PCI) -->
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/bin/VBoxService'
60 timeout_seconds='30' />
61
62 <exec_method
63 type='method'
64 name='stop'
65 exec=':kill'
66 timeout_seconds='60' />
67
68 <template>
69 <common_name>
70 <loctext xml:lang='C'>VirtualBox Service.</loctext>
71 </common_name>
72 </template>
73</service>
74
75</service_bundle>
76
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette