Remove emacs service and add ranger service
This commit is contained in:
parent
f46c0586aa
commit
9a3120f6e0
@ -283,29 +283,6 @@ https://www.digitalocean.com/community/tutorials/how-to-use-systemctl-to-manage-
|
||||
WantedBy=default.target
|
||||
#+END_SRC
|
||||
|
||||
* Emacs
|
||||
** Service
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/systemd/user/emacs.service
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
|
||||
#+BEGIN_SRC conf
|
||||
[Unit]
|
||||
Description=Emacs text editor
|
||||
Documentation=info:emacs man:emacs(1) https://gnu.org/software/emacs/
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStart=/usr/bin/emacs --daemon
|
||||
ExecStop=/usr/bin/emacsclient --eval "(kill-emacs)"
|
||||
Environment=SSH_AUTH_SOCK=%t/keyring/ssh
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
#+END_SRC
|
||||
|
||||
* Vdirsyncer
|
||||
** Service
|
||||
:PROPERTIES:
|
||||
@ -344,6 +321,27 @@ https://www.digitalocean.com/community/tutorials/how-to-use-systemctl-to-manage-
|
||||
WantedBy=timers.target
|
||||
#+end_src
|
||||
|
||||
* Ranger
|
||||
** Service
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/systemd/user/ranger.service
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
#+begin_src conf
|
||||
[Unit]
|
||||
Description=Ranger using Tmux
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStart=/usr/bin/tmux -L ranger new -d -s ranger ranger
|
||||
ExecStop=/usr/bin/tmux -L ranger kill-session -t ranger
|
||||
Restart=always
|
||||
RestartSec=1
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
#+end_src
|
||||
|
||||
* Weechat
|
||||
** Service
|
||||
:PROPERTIES:
|
||||
@ -364,7 +362,7 @@ https://www.digitalocean.com/community/tutorials/how-to-use-systemctl-to-manage-
|
||||
RestartSec=3
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
WantedBy=multi-user.target
|
||||
#+end_src
|
||||
|
||||
* Neomutt
|
||||
@ -385,7 +383,7 @@ https://www.digitalocean.com/community/tutorials/how-to-use-systemctl-to-manage-
|
||||
RestartSec=3
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
WantedBy=multi-user.target
|
||||
#+end_src
|
||||
|
||||
* Powertop
|
||||
@ -424,11 +422,11 @@ https://www.digitalocean.com/community/tutorials/how-to-use-systemctl-to-manage-
|
||||
RestartSec=3
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
WantedBy=multi-user.target
|
||||
#+end_src
|
||||
|
||||
* Newsboat
|
||||
** Service - tmux
|
||||
** Service
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/systemd/user/newsboat.service
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
@ -446,9 +444,11 @@ https://www.digitalocean.com/community/tutorials/how-to-use-systemctl-to-manage-
|
||||
RestartSec=3
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
WantedBy=multi-user.target
|
||||
#+end_src
|
||||
|
||||
* SSH Agent
|
||||
** Service
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/systemd/user/ssh-agent.service
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
@ -466,7 +466,9 @@ ExecStart=/usr/bin/ssh-agent -D -a $SSH_AUTH_SOCK
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
#+end_src
|
||||
|
||||
* Mopidy
|
||||
** Service
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/systemd/user/mopidy.service
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
@ -484,7 +486,7 @@ After=remote-fs.target
|
||||
After=sound.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/mopidy
|
||||
ExecStart=/usr/bin/mopidy --config ~/.config/mopidy/mopidy.conf
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
Loading…
Reference in New Issue
Block a user