12 lines
231 B
SYSTEMD
12 lines
231 B
SYSTEMD
|
[Unit]
|
||
|
Description=Emacs: the extensible, self-documenting text editor
|
||
|
|
||
|
[Service]
|
||
|
Type=Forking
|
||
|
ExecStart=/usr/bin/emacs --daemon
|
||
|
ExecStop=/usr/bin/emacsclient --eval "(kill-emacs)"
|
||
|
Restart=always
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=default.target
|