mirror of
https://github.com/Foltik/dotfiles
synced 2024-12-01 06:44:51 -05:00
13 lines
276 B
SYSTEMD
13 lines
276 B
SYSTEMD
|
[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=multi-user.target
|