1 ## If your Emacs is installed in a non-standard location, you may need
2 ## to copy this file to a standard directory, eg ~/.config/systemd/user/ .
3 ## If you install this file by hand, change the "Exec" lines below
4 ## to use absolute file names for the executables.
6 Description=Emacs text editor
7 Documentation=info:emacs man:emacs(1) https://gnu.org/software/emacs/
11 ExecStart=emacs --fg-daemon
12 ExecStop=emacsclient --eval "(kill-emacs)"
13 Environment=SSH_AUTH_SOCK=%t/keyring/ssh
17 WantedBy=default.target