mirror of
https://git.earne.link/earnestma/dotfiles
synced 2024-06-13 18:06:36 +00:00
13 lines
271 B
Desktop File
13 lines
271 B
Desktop File
[Unit]
|
|
Description=Emacs
|
|
|
|
[Service]
|
|
Type=forking
|
|
ExecStart=/usr/bin/emacs --daemon=%i --chdir %h
|
|
ExecStop=/usr/bin/emacsclient --server-file=hud --eval "(progn (setq kill-emacs-hook 'nil) (kill-emacs))"
|
|
Restart=always
|
|
TimeoutStartSec=0
|
|
|
|
[Install]
|
|
WantedBy=default.target
|