vboxservice.xml revision 4b9d6701570cb98fd36e209314239d104ec584d3
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync<?xml version='1.0'?>
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync<!--
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync#
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# Solaris SMF service manifest for VBoxService (timesync).
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync#
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync Copyright (C) 2008-2010 Oracle Corporation
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync This file is part of VirtualBox Open Source Edition (OSE), as
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync available from http://www.virtualbox.org. This file is free software;
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync you can redistribute it and/or modify it under the terms of the GNU
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync General Public License (GPL) as published by the Free Software
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync Foundation, in version 2 as it comes in the "COPYING" file of the
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync VirtualBox OSE distribution. VirtualBox OSE is distributed in the
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync The contents of this file may alternatively be used under the terms
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync of the Common Development and Distribution License Version 1.0
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync (CDDL) only, as it comes in the "COPYING.CDDL" file of the
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync VirtualBox OSE distribution, in which case the provisions of the
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync CDDL are applicable instead of those of the GPL.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync You may elect to license modified versions of this file under the
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync terms and conditions of either the GPL or the CDDL or both.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync-->
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync<service_bundle type='manifest' name='export'>
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync<service
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync name='system/virtualbox/vboxservice'
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync type='service'
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync version='1'>
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync <create_default_instance enabled='false' />
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync <single_instance/>
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync <!-- Wait for devices to be initialized as we depend on vboxguest (PCI) -->
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync <dependency
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync name='milestone'
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync grouping='require_all'
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync restart_on='none'
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync type='service'>
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync <service_fmri value='svc:/milestone/devices:default' />
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync </dependency>
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync <!-- Wait for local filesystems to be mounted (just to be safe, don't start too early) -->
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync <dependency
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync name='filesystem-local'
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync grouping='require_all'
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync restart_on='none'
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync type='service'>
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync <service_fmri value='svc:/system/filesystem/local:default' />
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync </dependency>
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync <exec_method
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync type='method'
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync name='start'
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync exec='/usr/bin/VBoxService'
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync timeout_seconds='30' />
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync <exec_method
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync type='method'
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync name='stop'
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync exec=':kill'
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync timeout_seconds='60' />
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync <template>
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync <common_name>
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync <loctext xml:lang='C'>VirtualBox Service.</loctext>
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync </common_name>
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync </template>
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync</service>
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync</service_bundle>
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync