Skip to content

Commit

Permalink
Correct documentation regarding how to change the auto-check cycle
Browse files Browse the repository at this point in the history
OnUnitActiveSec parameter first has to be reset before adding a custom configuration, otherwise the custom parameter will be **added** to the already existing one instead of acting as a replacement.

Fixes #96
  • Loading branch information
Antiz96 committed Jan 14, 2024
1 parent bbad772 commit 3c5fe1e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ If you want to change the check cycle, run `systemctl --user edit arch-update.ti

```text
[Timer]
OnUnitActiveSec=
OnUnitActiveSec=10m
```

Expand Down
2 changes: 2 additions & 0 deletions doc/man/arch-update.1
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ See https://wiki.archlinux.org/title/Desktop_notifications

.B [Timer]
.br
.B OnUnitActiveSec=
.br
.B OnUnitActiveSec=10m

.br
Expand Down

0 comments on commit 3c5fe1e

Please sign in to comment.