Created and added emacs config instructions and files.
[BK-2020-03.git] / config-shared / emacs / home / .config / systemd / user / emacs.service
1 [Unit]
2 Description=Emacs text editor
3 Documentation=info:emacs man:emacs(1) https://gnu.org/software/emacs/
4
5 [Service]
6 Type=simple
7 ExecStart=/usr/bin/emacs --fg-daemon
8 ExecStop=/usr/bin/emacsclient --eval "(kill-emacs)"
9 Environment=SSH_AUTH_SOCK=%t/keyring/ssh
10 Restart=on-failure
11
12 [Install]
13 WantedBy=default.target