[emacs] Fixup emacs systemd service
This commit is contained in:
parent
e45af97ed3
commit
61099cbddb
|
@ -1 +0,0 @@
|
|||
/usr/lib/systemd/user/emacs.service
|
|
@ -1,11 +1,13 @@
|
|||
[Unit]
|
||||
Description=Emacs: the extensible, self-documenting text editor
|
||||
Description=Emacs text editor
|
||||
Documentation=info:emacs man:emacs(1) https://gnu.org/software/emacs/
|
||||
|
||||
[Service]
|
||||
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
|
||||
WantedBy=default.target
|
||||
|
|
Loading…
Reference in New Issue