1
0
mirror of https://github.com/Foltik/dotfiles synced 2024-11-26 04:57:21 -05:00
dotfiles/.config/systemd/user/emacs.service

13 lines
273 B
SYSTEMD
Raw Normal View History

2022-05-29 15:31:02 -04:00
[Unit]
Description=Emacs text editor
Documentation=info:emacs man:emacs(1) https://gnu.org/software/emacs/
[Service]
Type=simple
ExecStart=/usr/bin/emacs --fg-daemon
ExecStop=/usr/bin/emacsclient --eval "(kill-emacs)"
Restart=on-failure
[Install]
WantedBy=default.target