소스 검색

Fix emacs systemd config

Colin Powell 6 년 전
부모
커밋
4e6b191afe
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 1
      systemd/.config/systemd/user/default.target.wants/emacs.service
  2. 2 1
      systemd/.config/systemd/user/emacs.service

+ 0 - 1
systemd/.config/systemd/user/default.target.wants/emacs.service

@@ -1 +0,0 @@
-/home/powellc/.config/systemd/user/emacs.service

+ 2 - 1
systemd/.config/systemd/user/emacs.service

@@ -5,7 +5,8 @@ Description=Emacs: the extensible, self-documenting text editor
 Type=forking
 ExecStart=/usr/bin/emacs --daemon
 ExecStop=/usr/bin/emacsclient --eval "(kill-emacs)"
-Restart=always
+Environment=SSH_AUTH_SOCK=%t/keyring/ssh
+Restart=on-failure
 
 [Install]
 WantedBy=default.target