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