doc: add ExecStop and fix typo

This commit is contained in:
Vladan Popovic 2024-10-01 21:32:21 +02:00
parent f517d4ee31
commit 384d023ead

View file

@ -4,7 +4,7 @@ Save this service config to `$XDG_CONFIG_HOME/systemd/user/dotfiles.service`:
```
[Unit]
Description=Stow dotfile linker
Description=Stow dotfiles linker
Documentation=man:stow(1)
Before=wayland-session.target
Conflicts=wayland-session.target
@ -14,6 +14,7 @@ Type=oneshot
WorkingDirectory=%h/dev/dotfiles
RemainAfterExit=true
ExecStart=/usr/bin/stow --target=%h --adopt dotfiles/
ExecStop=/usr/bin/stow --target=%h --delete dotfiles/
[Install]
WantedBy=default.target