Emacs daemon service: Remove SSH_AUTH_SOCK env var

Marked (correct) default value, preventing ssh-agent from working with emacsclient
This commit is contained in:
TEC 2021-01-16 04:51:32 +08:00
parent 5bc18d9bcb
commit 1a4fce35bd
Signed by: tec
GPG key ID: 779591AFDB81F06C

View file

@ -911,7 +911,6 @@ Documentation=info:emacs man:emacs(1) https://gnu.org/software/emacs/
Type=forking
ExecStart=sh -c 'emacs --daemon && emacsclient -c --eval "(delete-frame)"'
ExecStop=/usr/bin/emacsclient --no-wait --eval "(progn (setq kill-emacs-hook nil) (kill emacs))"
Environment=SSH_AUTH_SOCK=%t/keyring/ssh
Restart=on-failure
[Install]