aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2009-01-28 22:03:55 +0000
committerUlrich Müller <ulm@gentoo.org>2009-01-28 22:03:55 +0000
commit33b18a1235fd5f9e5e94b5afa4889e80851d7ff8 (patch)
treeaceb70a9b4e75bc57aaedf342ad93c823d2063b6
parentInclude --daemon option in EMACS_OPTS variable. Other minor changes. (diff)
downloademacs-tools-33b18a1235fd5f9e5e94b5afa4889e80851d7ff8.tar.gz
emacs-tools-33b18a1235fd5f9e5e94b5afa4889e80851d7ff8.tar.bz2
emacs-tools-33b18a1235fd5f9e5e94b5afa4889e80851d7ff8.zip
Depend on dbus in rc script.
svn path=/emacs-daemon/; revision=1227
-rw-r--r--ChangeLog7
-rw-r--r--emacs.rc5
2 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 77364af..115cc4c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-01-28 Ulrich Mueller <ulm@gentoo.org>
+
+ * emacs.rc (depend): Add dependencies and start after dbus daemon.
+ Emacs must register with D-Bus at load time, otherwise notify.el
+ doesn't work. Thanks to Tassilo Horn <tassilo@member.fsf.org> for
+ pointing this out. Depend on localmount and bootmisc, too.
+
2009-01-21 Ulrich Mueller <ulm@gentoo.org>
* emacs.rc: Use different syntax for assignment of default values.
diff --git a/emacs.rc b/emacs.rc
index a37a91c..1c25afb 100644
--- a/emacs.rc
+++ b/emacs.rc
@@ -13,6 +13,11 @@ PIDFILE=${PIDFILE_DIR}/emacs.pid
description="Start an Emacs server running in the background"
+depend() {
+ need localmount
+ after bootmisc dbus
+}
+
checkconfig() {
if [ "${USER}" = "${RC_SVCNAME}" ]; then
eerror "You have to create an init script for each user:"