summaryrefslogtreecommitdiff
path: root/.config/systemd/user/emacs-daemon.service
blob: 4077e97e351e1af58c582cb4c1b5a514fc760164 (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 -a false -e "(kill-emacs)"'

[Install]
WantedBy=default.target