doc: add ExecStop and fix typo
This commit is contained in:
parent
f517d4ee31
commit
384d023ead
1 changed files with 2 additions and 1 deletions
|
@ -4,7 +4,7 @@ Save this service config to `$XDG_CONFIG_HOME/systemd/user/dotfiles.service`:
|
||||||
|
|
||||||
```
|
```
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Stow dotfile linker
|
Description=Stow dotfiles linker
|
||||||
Documentation=man:stow(1)
|
Documentation=man:stow(1)
|
||||||
Before=wayland-session.target
|
Before=wayland-session.target
|
||||||
Conflicts=wayland-session.target
|
Conflicts=wayland-session.target
|
||||||
|
@ -14,6 +14,7 @@ Type=oneshot
|
||||||
WorkingDirectory=%h/dev/dotfiles
|
WorkingDirectory=%h/dev/dotfiles
|
||||||
RemainAfterExit=true
|
RemainAfterExit=true
|
||||||
ExecStart=/usr/bin/stow --target=%h --adopt dotfiles/
|
ExecStart=/usr/bin/stow --target=%h --adopt dotfiles/
|
||||||
|
ExecStop=/usr/bin/stow --target=%h --delete dotfiles/
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=default.target
|
WantedBy=default.target
|
||||||
|
|
Loading…
Reference in a new issue