establishes systemd service for emacs daemon
This commit is contained in:
parent
21388d0416
commit
b008def7df
3 changed files with 15 additions and 1 deletions
12
config/.config/systemd/user/emacs.service
Normal file
12
config/.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=forking
|
||||
ExecStart=/usr/bin/emacs --daemon=instance1
|
||||
ExecStop=/usr/bin/emacsclient --eval "(kill-emacs)"
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
4
udeps.sh
4
udeps.sh
|
@ -7,12 +7,14 @@ sudo apt-get -my install git \
|
|||
etckeeper \
|
||||
tmux \
|
||||
zsh \
|
||||
vim \
|
||||
vim \
|
||||
powerline\
|
||||
htop \
|
||||
mc \
|
||||
curl \
|
||||
aptitude \
|
||||
nnn \
|
||||
ack
|
||||
|
||||
read -n1 -p $'Does this system need ssh access?\n' REPLY
|
||||
if [[ $REPLY == [Yy] ]]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue