mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 19:49:45 +01:00
13 lines
328 B
SYSTEMD
13 lines
328 B
SYSTEMD
|
[Install]
|
||
|
WantedBy=default.target
|
||
|
|
||
|
[Service]
|
||
|
ExecStart=@emacs@/bin/emacs --fg-daemon
|
||
|
ExecStop=@emacs@/bin/emacsclient --eval '(kill-emacs 0)'
|
||
|
Restart=on-failure
|
||
|
|
||
|
[Unit]
|
||
|
Description=Emacs: the extensible, self-documenting text editor
|
||
|
Documentation=info:emacs man:emacs(1) https://gnu.org/software/emacs/
|
||
|
X-RestartIfChanged=false
|