]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't override SSH_AUTH_SOCK in the example emacs.service file
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 21 Jul 2019 15:11:59 +0000 (17:11 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 21 Jul 2019 15:11:59 +0000 (17:11 +0200)
* 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

index dbcb6bc301e4a3a6738c34e374908d7df667a9ce..c99c6779f58e7c30ff1fae7c44e4e34c1ebc367c 100644 (file)
@@ -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]