mirror of
https://github.com/Foltik/dotfiles
synced 2024-11-22 12:04:17 -05:00
29 May 2022 15:31:02
This commit is contained in:
parent
fe61349cb4
commit
9447185be3
12
.config/systemd/user/emacs.service
Normal file
12
.config/systemd/user/emacs.service
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
[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
|
Loading…
Reference in New Issue
Block a user