[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master ca08815 1/2: Don't override SSH_AUTH_SOCK in the ex
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] master ca08815 1/2: Don't override SSH_AUTH_SOCK in the example emacs.service file |
Date: |
Sun, 21 Jul 2019 11:41:50 -0400 (EDT) |
branch: master
commit ca08815943a1314c154742b9ae3e36ca47aed3b8
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
Don't override SSH_AUTH_SOCK in the example emacs.service file
* etc/emacs.service (ExecStop): Don't override SSH_AUTH_SOCK by
default, because it varies by distribution where the socket is
(bug#27620).
---
etc/emacs.service | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/etc/emacs.service b/etc/emacs.service
index dbcb6bc..c99c677 100644
--- a/etc/emacs.service
+++ b/etc/emacs.service
@@ -10,7 +10,9 @@ Documentation=info:emacs man:emacs(1)
https://gnu.org/software/emacs/
Type=notify
ExecStart=emacs --fg-daemon
ExecStop=emacsclient --eval "(kill-emacs)"
-Environment=SSH_AUTH_SOCK=%t/keyring/ssh
+# The location of the SSH auth socket varies by distribution, and some
+# set it from PAM, so don't override by default.
+# Environment=SSH_AUTH_SOCK=%t/keyring/ssh
Restart=on-failure
[Install]