<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1"> <!-- CDDL HEADER START The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License. When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner] CDDL HEADER END NOTE: This service manifest is not editable; its contents will be overwritten by package or patch operations, including operating system upgrade. Make customizations in a different file. Service manifest for the Light Desktop Manager --> <!-- Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. Copyright 2016 Alexander Pyhalov --> <service_bundle type='manifest' name='lightdm'> <service name='application/graphical-login/lightdm' type='service' version='1'> <dependency name='filesystem' grouping='require_all' restart_on='none' type='service'> <service_fmri value='svc:/system/filesystem/local'/> </dependency> <dependency name='multi-user' grouping='require_all' restart_on='error' type='service'> <service_fmri value='svc:/milestone/multi-user:default'/> </dependency> <dependency name='sysconfig' grouping='require_all' restart_on='none' type='service'> <service_fmri value='svc:/milestone/sysconfig'/> </dependency> <dependency name='fc-cache' grouping='require_all' restart_on='none' type='service'> <service_fmri value='svc:/application/font/fc-cache'/> </dependency> <dependency name='utmpx' grouping='require_all' restart_on='none' type='service'> <service_fmri value='svc:/system/utmp'/> </dependency> <dependency name='hal' grouping='require_all' restart_on='none' type='service'> <service_fmri value='svc:/system/hal' /> </dependency> <dependency name='dbus' type='service' grouping='require_all' restart_on='none'> <service_fmri value='svc:/system/dbus' /> </dependency> <dependency name='consolekit' grouping='require_all' restart_on='none' type='service'> <service_fmri value='svc:/system/consolekit'/> </dependency> <dependency name='x11-init' grouping='require_all' restart_on='none' type='service'> <service_fmri value='svc:/application/x11/x11-init'/> </dependency> <instance name='default' enabled='false' > <exec_method type='method' name='start' exec='/lib/svc/method/svc-lightdm start' timeout_seconds='60'> </exec_method> <exec_method type='method' name='stop' exec='/lib/svc/method/svc-lightdm stop' timeout_seconds='60'/> <exec_method type='method' name='refresh' exec=':kill -HUP' timeout_seconds='60'/> <!-- Authorization --> <property_group name='general' type='framework'> <!-- to start stop lightdm --> <propval name='action_authorization' type='astring' value='solaris.smf.manage.dt.login' /> </property_group> <!-- these are passed to lightdm in the method script --> <property_group name='lightdm' type='application'> <propval name='args' type='astring' value='' /> </property_group> </instance> <template> <common_name> <loctext xml:lang='C'> Light Display Manager </loctext> </common_name> <description> <loctext xml:lang='C'> Light Display Manager </loctext> </description> <documentation> <manpage title='lightdm' section='1' manpath='/usr/share/man'/> </documentation> </template> </service> </service_bundle>