Enable support for Emacs versions without --fg-daemon
This commit is contained in:
parent
8a1c66069c
commit
7c55bedd58
1 changed files with 2 additions and 2 deletions
|
@ -7,8 +7,8 @@ Description=Emacs text editor
|
|||
Documentation=info:emacs man:emacs(1) https://gnu.org/software/emacs/
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart={{ prefix }}/bin/emacs --fg-daemon
|
||||
Type=forking
|
||||
ExecStart={{ prefix }}/bin/emacs --daemon
|
||||
ExecStop={{ prefix }}/bin/emacsclient --eval "(kill-emacs)"
|
||||
Environment=SSH_AUTH_SOCK=%t/keyring/ssh
|
||||
Restart=on-failure
|
||||
|
|
Loading…
Reference in a new issue