Spelling fix
[emacs.git] / etc / emacs.service
blobb29177b120c5c50e65bccf50722dd31171bd9e59
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.
5 [Unit]
6 Description=Emacs text editor
7 Documentation=info:emacs man:emacs(1) https://gnu.org/software/emacs/
9 [Service]
10 Type=simple
11 ExecStart=emacs --fg-daemon
12 ExecStop=emacsclient --eval "(kill-emacs)"
13 Environment=SSH_AUTH_SOCK=%t/keyring/ssh
14 Restart=on-failure
16 [Install]
17 WantedBy=default.target