VirtualBox

source: vbox/trunk/src/VBox/Installer/solaris/virtualbox-zoneaccess.xml@ 52371

Last change on this file since 52371 was 44528, checked in by vboxsync, 12 years ago

header (C) fixes

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 KB
Line 
1<?xml version='1.0'?>
2<!--
3#
4# Solaris SMF service manifest for Solaris Zone Access.
5#
6 Copyright (C) 2008-2012 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<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
17
18<service_bundle type='manifest' name='SUNWvbox:zoneaccess'>
19
20<service
21 name='application/virtualbox/zoneaccess'
22 type='service'
23 version='1'>
24
25 <create_default_instance enabled='false' />
26
27 <single_instance/>
28
29 <!-- Wait for devices to be initialized as we depend on vboxdrv -->
30 <dependency
31 name='milestone'
32 grouping='require_all'
33 restart_on='none'
34 type='service'>
35 <service_fmri value='svc:/milestone/devices:default' />
36 </dependency>
37
38 <!-- Wait for local filesystems to be mounted (just to be safe, don't start too early) -->
39 <dependency
40 name='filesystem-local'
41 grouping='require_all'
42 restart_on='none'
43 type='service'>
44 <service_fmri value='svc:/system/filesystem/local:default' />
45 </dependency>
46
47 <exec_method
48 type='method'
49 name='start'
50 exec='/opt/VirtualBox/VBoxZoneAccess'
51 timeout_seconds='10' >
52 <method_context>
53 <method_credential user='root' group='root' />
54 </method_context>
55 </exec_method>
56
57 <exec_method
58 type='method'
59 name='stop'
60 exec=':kill'
61 timeout_seconds='10' >
62 <method_context>
63 <method_credential user='root' group='root' />
64 </method_context>
65 </exec_method>
66
67 <template>
68 <common_name>
69 <loctext xml:lang='C'>VirtualBox Zone Access Service.</loctext>
70 </common_name>
71 </template>
72</service>
73
74</service_bundle>
75
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