legacy-dotfiles/systemd/.config/systemd/user/emacs.service

12 lines
258 B
Desktop File

# -*- mode: conf-unix; -*-
[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