summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2008-10-29 21:16:47 +0000
committerUlrich Müller <ulm@gentoo.org>2008-10-29 21:16:47 +0000
commitd9100aa7288e4fab6c69689ca2645ec79b25d374 (patch)
tree756eee1d75ca509eac4f0d87b92f9aa863920a57
parentFix previous commit. (diff)
downloademacs-d9100aa7288e4fab6c69689ca2645ec79b25d374.tar.gz
emacs-d9100aa7288e4fab6c69689ca2645ec79b25d374.tar.bz2
emacs-d9100aa7288e4fab6c69689ca2645ec79b25d374.zip
Supply --user option also on stop.
svn path=/emacs-overlay/; revision=1190
-rw-r--r--app-emacs/emacs-daemon/Manifest2
-rw-r--r--app-emacs/emacs-daemon/files/emacs-daemon.rc5
2 files changed, 4 insertions, 3 deletions
diff --git a/app-emacs/emacs-daemon/Manifest b/app-emacs/emacs-daemon/Manifest
index 6c5af97..1a4123f 100644
--- a/app-emacs/emacs-daemon/Manifest
+++ b/app-emacs/emacs-daemon/Manifest
@@ -1,4 +1,4 @@
-AUX emacs-daemon.rc 1122 RMD160 e62b9a907df1b2d77e028e864c9d214cd7dfcf6e SHA1 32e1362f91e21325472299e91f32f6d5df3cfe8f SHA256 a005c94c3e58a914e5b7621481cb980fa6bdf22d5920f1634fa4019ab6c94530
+AUX emacs-daemon.rc 1122 RMD160 2379b4932d7f867014de59ef1e4e15f6bf6c83bc SHA1 dce855b3e848e2087c50d2b13bc3709accce3093 SHA256 3bd49fbccf1d4dc75af53ea8fecc03d3f7db460a809b43b9509dc014604ae141
EBUILD emacs-daemon-0.2.ebuild 830 RMD160 a259a589dd0ed4551ee97c585f7d40bd1946abf7 SHA1 d78d15eeddb15e15e46fbc19d203fe739d3c64aa SHA256 21cbb84adf04f2200f242d7d732026dbf991b238074afe10f6dbfb1161b054e3
MISC ChangeLog 690 RMD160 544295c5eb856bc7a95cd12f0362e8cd08b15441 SHA1 1852a602f06f164df54a0c3f0ad977279db84612 SHA256 f309a7d627c3ea8690e95536c3d2686dc5c0468405e973e2763fdc3e359e2ec8
MISC metadata.xml 158 RMD160 415d172437ca754d24fc5ab186ba8e77934d96e4 SHA1 61f6eff9729cd87a725c2a70c81aca4270a17fc4 SHA256 1393bdef3a74343fdb40a112c7096a1af16f67e7a43413250de28dfe73810eab
diff --git a/app-emacs/emacs-daemon/files/emacs-daemon.rc b/app-emacs/emacs-daemon/files/emacs-daemon.rc
index 494f52b..eda3a5a 100644
--- a/app-emacs/emacs-daemon/files/emacs-daemon.rc
+++ b/app-emacs/emacs-daemon/files/emacs-daemon.rc
@@ -35,12 +35,13 @@ start() {
ebegin "Starting Emacs daemon for ${USER}"
eval home=~${USER}
start-stop-daemon --start --user "${USER}" --chdir "${home}" \
- --name "emacs-daemon-${USER}" --exec "${EMACS}" -- --daemon &>/dev/null
+ --name emacs-daemon --exec "${EMACS}" -- --daemon &>/dev/null
eend $?
}
stop() {
ebegin "Stopping Emacs daemon for ${USER}"
- start-stop-daemon --stop --name "emacs-daemon-${USER}" --exec "${EMACS}"
+ start-stop-daemon --stop --user "${USER}" \
+ --name emacs-daemon --exec "${EMACS}"
eend $?
}