You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
230 B

  1. [Unit]
  2. Description=Emacs: the extensible, self-documenting text editor
  3. [Service]
  4. Type=forking
  5. ExecStart=/usr/bin/emacs --daemon
  6. ExecStop=/usr/bin/emacsclient --eval "(kill-emacs)"
  7. Restart=always
  8. [Install]
  9. WantedBy=default.target