Add emacs service
This commit is contained in:
1
systemd/.config/systemd/user/default.target.wants/emacs.service
Symbolic link
1
systemd/.config/systemd/user/default.target.wants/emacs.service
Symbolic link
@ -0,0 +1 @@
|
||||
/home/powellc/.config/systemd/user/emacs.service
|
||||
11
systemd/.config/systemd/user/emacs.service
Normal file
11
systemd/.config/systemd/user/emacs.service
Normal file
@ -0,0 +1,11 @@
|
||||
[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
|
||||
Reference in New Issue
Block a user