Add .config/systemd/emacsd.service
This commit is contained in:
parent
6632c7897c
commit
d99be88de3
1 changed files with 11 additions and 0 deletions
11
.config/systemd/emacsd.service
Normal file
11
.config/systemd/emacsd.service
Normal file
|
@ -0,0 +1,11 @@
|
|||
[Unit]
|
||||
Description=Emacs daemon
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStart=/usr/bin/emacs --daemon
|
||||
ExecStop=/usr/bin/emacsclient --eval "(kill-emacs)"
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
Loading…
Add table
Reference in a new issue