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