blob: 6a333d4660fdc381216d46f6256f54338cc77ad7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
[Unit]
Description=Emacs text editor
Documentation=info:emacs man:emacs(1) https://gnu.org/software/emacs/
[Service]
Type=forking
ExecStart=/usr/bin/emacs --daemon
ExecStop=/usr/bin/emacsclient --eval "(kill-emacs)"
Restart=on-failure
[Install]
WantedBy=default.target
|