Mercurial > dotfiles
comparison .config/systemd/user/emacs.service @ 496:1944a98a6774
merge
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Sun, 27 Sep 2020 16:11:36 -0400 |
parents | 1bb1c44ce49c |
children |
comparison
equal
deleted
inserted
replaced
495:d3d52766cfcd | 496:1944a98a6774 |
---|---|
1 # systemctl enable --user emacs | |
2 # systemctl start --user emacs | |
3 [Unit] | |
4 Description=Emacs text editor | |
5 Documentation=info:emacs man:emacs(1) https://gnu.org/software/emacs/ | |
6 | |
7 [Service] | |
8 Type=forking | |
9 ExecStart=/usr/bin/emacs --daemon | |
10 ExecStop=/usr/bin/emacsclient --eval "(kill-emacs)" | |
11 Environment=SSH_AUTH_SOCK=%t/keyring/ssh | |
12 Restart=on-failure | |
13 | |
14 [Install] | |
15 WantedBy=default.target |