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