VirtualBox

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

Last change on this file since 98715 was 98103, checked in by vboxsync, 23 months ago

Copyright year updates by scm.

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