blob: b0e76f8d5ae9bf1714330ff46859ca8e4f0e6fef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
[Unit]
Description=Emacs
[Service]
Type=forking
ExecStart=/usr/bin/emacs --bg-daemon
ExecStop=/usr/bin/emacsclient --eval "(kill-emacs)"
Restart=on-failure
TimeoutStartSec=0
[Install]
WantedBy=default.target
|