VirtualBox

source: vbox/trunk/src/VBox/Installer/solaris/virtualbox-webservice.xml@ 18265

Last change on this file since 18265 was 18265, checked in by vboxsync, 16 years ago

config file cleanup + small copyright year update

File size: 3.1 KB
Line 
1<?xml version="1.0"?>
2<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3<!--
4# Sun VirtualBox
5# Solaris SMF service manifest for VirtualBox webservice server.
6# $Id$
7
8 Copyright (C) 2008-2009 Sun Microsystems, Inc.
9
10 This file is part of VirtualBox Open Source Edition (OSE), as
11 available from http://www.virtualbox.org. This file is free software;
12 you can redistribute it and/or modify it under the terms of the GNU
13 General Public License (GPL) as published by the Free Software
14 Foundation, in version 2 as it comes in the "COPYING" file of the
15 VirtualBox OSE distribution. VirtualBox OSE is distributed in the
16 hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
17
18 Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
19 Clara, CA 95054 USA or visit http://www.sun.com if you need
20 additional information or have any questions.
21-->
22
23<service_bundle type='manifest' name='SUNWvbox:webservice'>
24
25<service
26 name='application/virtualbox/webservice'
27 type='service'
28 version='1'>
29
30 <single_instance />
31
32 <dependency
33 name='fs-local'
34 grouping='require_all'
35 restart_on='none'
36 type='service'>
37 <service_fmri value='svc:/system/filesystem/local' />
38 </dependency>
39
40 <dependency
41 name='network-service'
42 grouping='require_all'
43 restart_on='none'
44 type='service'>
45 <service_fmri value='svc:/network/service' />
46 </dependency>
47
48 <dependency
49 name='name-services'
50 grouping='require_all'
51 restart_on='refresh'
52 type='service'>
53 <service_fmri value='svc:/milestone/name-services' />
54 </dependency>
55
56 <instance name='default' enabled='false'>
57
58 <dependent
59 name='virtualbox-webservice_multi-user'
60 grouping='optional_all'
61 restart_on='none'>
62 <service_fmri value='svc:/milestone/multi-user' />
63 </dependent>
64
65 <exec_method
66 type='method'
67 name='start'
68 exec='/opt/VirtualBox/smf-vboxwebsrv %m'
69 timeout_seconds='15'>
70 <method_context>
71 <method_credential user='root' group='root' />
72 </method_context>
73 </exec_method>
74
75 <exec_method
76 type='method'
77 name='stop'
78 exec='/opt/VirtualBox/smf-vboxwebsrv %m %{restarter/contract}'
79 timeout_seconds='15'>
80 <method_context>
81 <method_credential user='root' group='root' />
82 </method_context>
83 </exec_method>
84
85 <property_group name='config' type='application'>
86 <propval name='user' type='astring' value='root' />
87 <propval name='host' type='astring' value='localhost' />
88 <propval name='port' type='integer' value='18083' />
89 </property_group>
90
91 <template>
92 <common_name>
93 <loctext xml:lang='C'>
94 VirtualBox Webservice
95 </loctext>
96 </common_name>
97 </template>
98
99 </instance>
100
101 <stability value='External' />
102
103</service>
104
105</service_bundle>
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