update readme

This commit is contained in:
JerryXiao 2021-07-11 15:38:35 +08:00
parent 111a712fee
commit b4dceac194
Signed by: Jerry
GPG key ID: 22618F758B5BE2E5

View file

@ -20,6 +20,8 @@ status [-v --verbose] [-m --max <number>]
print details of a previously successful upgrade
reset
reset the current failure status
test-smtp
send an test email to the configured address
```
There is also a systemd timer for scheduled automatic upgrades.
@ -43,6 +45,9 @@ Pacroller wipes /var/cache/pacman/pkg after a successful upgrade if the option "
### save pacman output
Every time an upgrade is performed, the pacman output is stored into /var/log/pacroller. This can be configured via the "save_stdout" keyword.
## Smtp
Configure `/etc/pacroller/smtp.json` to receive an email notification when an upgrade fails. Note that pacroller will not send any email if stdin is a tty (can be overridden by the `--interactive` switch).
## Limitations
- Your favourite package may not be supported, however it's easy to add another set of rules.
- Restarting the whole system after a kernel upgrade is not implemented.