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).
This commit is contained in:
parent
76d0ca983b
commit
ca08815943
1 changed files with 3 additions and 1 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue