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