packages: gdm/gdm.upstart - use more standard stop/start hooks
glen
glen at pld-linux.org
Tue Dec 13 12:50:13 CET 2011
Author: glen Date: Tue Dec 13 11:50:13 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- use more standard stop/start hooks
---- Files affected:
packages/gdm:
gdm.upstart (1.3 -> 1.4)
---- Diffs:
================================================================
Index: packages/gdm/gdm.upstart
diff -u packages/gdm/gdm.upstart:1.3 packages/gdm/gdm.upstart:1.4
--- packages/gdm/gdm.upstart:1.3 Sun Aug 14 11:40:42 2011
+++ packages/gdm/gdm.upstart Tue Dec 13 12:50:08 2011
@@ -1,11 +1,13 @@
description "Starts the Gnome Display Manager"
-start on local-filesystems and started messagebus
+start on stopped rc RUNLEVEL=5 and started messagebus
# if you have haldaemon present as well:
#start on pld.sysinit-done and started messagebus and started haldaemon
-
-stop on pld.shutdown-started
+#stop on pld.shutdown-started
+stop on starting rc RUNLEVEL=[!5]
respawn
+respawn limit 10 120
+
exec /usr/sbin/gdm
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdm/gdm.upstart?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list