Browse Source

Fix emacs systemd config

Colin Powell 6 years ago
parent
commit
4e6b191afe

+ 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