1 | <?xml version='1.0'?>
|
---|
2 | <!--
|
---|
3 | Solaris SMF service manifest for the VirtualBox Test eXecution Service.
|
---|
4 | $Id: vboxtxs.xml 96304 2022-08-18 17:56:25Z vboxsync $
|
---|
5 | -->
|
---|
6 | <!--
|
---|
7 | Copyright (C) 2010-2020 Oracle Corporation
|
---|
8 |
|
---|
9 | This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
10 | available from http://www.alldomusa.eu.org. This file is free software;
|
---|
11 | you can redistribute it and/or modify it under the terms of the GNU
|
---|
12 | General Public License (GPL) as published by the Free Software
|
---|
13 | Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
14 | VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
15 | hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
16 |
|
---|
17 | The contents of this file may alternatively be used under the terms
|
---|
18 | of the Common Development and Distribution License Version 1.0
|
---|
19 | (CDDL) only, as it comes in the "COPYING.CDDL" file of the
|
---|
20 | VirtualBox OSE distribution, in which case the provisions of the
|
---|
21 | CDDL are applicable instead of those of the GPL.
|
---|
22 |
|
---|
23 | You may elect to license modified versions of this file under the
|
---|
24 | terms and conditions of either the GPL or the CDDL or both.
|
---|
25 | -->
|
---|
26 | <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
|
---|
27 |
|
---|
28 | <service_bundle type='manifest' name='export'>
|
---|
29 | <service name='system/virtualbox/vboxtxs' type='service' version='1'>
|
---|
30 |
|
---|
31 | <create_default_instance enabled='false' />
|
---|
32 | <single_instance/>
|
---|
33 |
|
---|
34 | <!-- Wait for the network to start up -->
|
---|
35 | <dependency name='milestone-network' grouping='require_all' restart_on='none' type='service'>
|
---|
36 | <service_fmri value='svc:/milestone/network:default' />
|
---|
37 | </dependency>
|
---|
38 |
|
---|
39 | <!-- Wait for devices to be initialized as we depend on vboxguest (PCI) -->
|
---|
40 | <dependency name='milestone-devices' grouping='require_all' restart_on='none' type='service'>
|
---|
41 | <service_fmri value='svc:/milestone/devices:default' />
|
---|
42 | </dependency>
|
---|
43 |
|
---|
44 | <!-- We wish to be started as late as possible... so go crazy with deps. -->
|
---|
45 | <dependency name='multi-user' grouping='require_all' restart_on='none' type='service'>
|
---|
46 | <service_fmri value='svc:/milestone/multi-user:default' />
|
---|
47 | </dependency>
|
---|
48 | <dependency name='multi-user-server' grouping='require_all' restart_on='none' type='service'>
|
---|
49 | <service_fmri value='svc:/milestone/multi-user-server:default' />
|
---|
50 | </dependency>
|
---|
51 | <dependency name='filesystem-local' grouping='require_all' restart_on='none' type='service'>
|
---|
52 | <service_fmri value='svc:/system/filesystem/local:default' />
|
---|
53 | </dependency>
|
---|
54 | <dependency name='filesystem-autofs' grouping='require_all' restart_on='none' type='service'>
|
---|
55 | <service_fmri value='svc:/system/filesystem/autofs:default' />
|
---|
56 | </dependency>
|
---|
57 | <dependency name='filesystem-rmvolmgr' grouping='require_all' restart_on='none' type='service'>
|
---|
58 | <service_fmri value='svc:/system/filesystem/rmvolmgr:default' />
|
---|
59 | </dependency>
|
---|
60 |
|
---|
61 | <!-- start + stop methods -->
|
---|
62 | <exec_method type='method' name='start' exec='/opt/VBoxTest/testsuite/solaris/vboxtxs.sh' timeout_seconds='30' />
|
---|
63 | <exec_method type='method' name='stop' exec=':kill' timeout_seconds='60' />
|
---|
64 |
|
---|
65 | <!-- Description -->
|
---|
66 | <template>
|
---|
67 | <common_name>
|
---|
68 | <loctext xml:lang='C'>VirtualBox Test eXecution Service</loctext>
|
---|
69 | </common_name>
|
---|
70 | </template>
|
---|
71 | </service>
|
---|
72 |
|
---|
73 | </service_bundle>
|
---|
74 |
|
---|