summaryrefslogtreecommitdiff
path: root/debian/lightdm.smf/manifest/system/lightdm.xml
diff options
context:
space:
mode:
Diffstat (limited to 'debian/lightdm.smf/manifest/system/lightdm.xml')
-rw-r--r--debian/lightdm.smf/manifest/system/lightdm.xml47
1 files changed, 47 insertions, 0 deletions
diff --git a/debian/lightdm.smf/manifest/system/lightdm.xml b/debian/lightdm.smf/manifest/system/lightdm.xml
new file mode 100644
index 0000000..58430d8
--- /dev/null
+++ b/debian/lightdm.smf/manifest/system/lightdm.xml
@@ -0,0 +1,47 @@
+<?xml version="1.0"?>
+<!DOCTYPE service_bundle SYSTEM "/usr/share/xml/schema/smf/service_bundle.dtd.1">
+<service_bundle type="manifest" name="lightdm">
+ <service name="system/graphical-login" type="service" version="1">
+ <instance name="lightdm" enabled="true">
+ <dependency name="filesystem" grouping="require_all" restart_on="none" type="service">
+ <service_fmri value="svc:/system/filesystem/local"/>
+ </dependency>
+ <dependency name="lightdm_conf" grouping="require_all" restart_on="restart" type="path">
+ <service_fmri value="file://localhost/etc/lightdm/lightdm.conf"/>
+ </dependency>
+ <dependency name="users_conf" grouping="require_all" restart_on="restart" type="path">
+ <service_fmri value="file://localhost/etc/lightdm/users.conf"/>
+ </dependency>
+ <dependency name="keys_conf" grouping="require_all" restart_on="restart" type="path">
+ <service_fmri value="file://localhost/etc/lightdm/keys.conf"/>
+ </dependency>
+ <dependency name="multi-user" grouping="require_all" restart_on="error" type="service">
+ <service_fmri value="svc:/milestone/multi-user:default"/>
+ </dependency>
+ <dependency name="dbus" type="service" grouping="require_all" restart_on="none">
+ <service_fmri value="svc:/system/dbus"/>
+ </dependency>
+ <exec_method type="method" name="start" exec="/lib/svc/method/lightdm start" timeout_seconds="60"/>
+ <exec_method type="method" name="stop" exec=":kill" timeout_seconds="60"/>
+ <exec_method type="method" name="refresh" exec=":true" timeout_seconds="10"/>
+ <property_group name="package" type="framework">
+ <propval name="upgrade" type="astring" value="refresh"/>
+ </property_group>
+ <property_group name="startd" type="framework">
+ <propval name="duration" type="astring" value="child"/>
+ </property_group>
+ <template>
+ <common_name>
+ <loctext xml:lang="C">
+ simple display manager
+ </loctext>
+ </common_name>
+ <documentation>
+ <manpage title="lightdm" section="1"/>
+ <manpage title="lightdm-set-defaults" section="1"/>
+ </documentation>
+ </template>
+ </instance>
+ <stability value="Unstable"/>
+ </service>
+</service_bundle>