Update emacs service
This commit is contained in:
parent
8d94666600
commit
28965ca50c
1 changed files with 2 additions and 2 deletions
|
@ -3,11 +3,11 @@ Description=Emacs text editor
|
|||
Documentation=info:emacs man:emacs(1) https://gnu.org/software/emacs/
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
Type=forking
|
||||
ExecStart=/usr/local/bin/emacs --daemon
|
||||
ExecStop=/usr/local/bin/emacsclient --eval "(kill-emacs)"
|
||||
Environment=SSH_AUTH_SOCK=%t/keyring/ssh
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
WantedBy=default.target
|
Loading…
Add table
Reference in a new issue