blob: 279d83a63bc4f127aeb9650a61e8e4a6426e5dea (
plain)
1
2
3
4
5
6
7
8
9
10
|
[Unit]
Description=Emacs deamon
[Service]
Type=forking
ExecStart=/bin/bash -l -c 'emacs --daemon'
ExecStop=/bin/bash -l -c 'emacsclient -e "(kill-emacs)"'
[Install]
WantedBy=default.target
|