diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2019-07-21 17:11:59 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2019-07-21 17:11:59 +0200 |
commit | ca08815943a1314c154742b9ae3e36ca47aed3b8 (patch) | |
tree | 24ba15ca83865c4d7b7f5f6d69cd7abd1f7edb37 /etc/emacs.service | |
parent | 76d0ca983b7c2e0e9f0e71630d96603b04fa0148 (diff) | |
download | emacs-ca08815943a1314c154742b9ae3e36ca47aed3b8.tar.gz emacs-ca08815943a1314c154742b9ae3e36ca47aed3b8.tar.bz2 emacs-ca08815943a1314c154742b9ae3e36ca47aed3b8.zip |
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).
Diffstat (limited to 'etc/emacs.service')
-rw-r--r-- | etc/emacs.service | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/emacs.service b/etc/emacs.service index dbcb6bc301e..c99c6779f58 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] |