mirror of
https://github.com/edu4rdshl/upcheck.git
synced 2026-07-17 23:24:49 +00:00
Update README.md
This commit is contained in:
parent
90f27c438f
commit
d48f8680b3
1 changed files with 5 additions and 12 deletions
17
README.md
17
README.md
|
|
@ -4,24 +4,20 @@ Checker and notifier for ArchLinux available updates writen in Rust that's total
|
|||
|
||||
# How to install and get it working?
|
||||
|
||||
**Using AUR package:**
|
||||
|
||||
Install the [upcheck](https://aur.archlinux.org/packages/upcheck/) package and enable/start the `upcheck.timer` user unit with `systemctl --user enable upcheck.timer && systemctl --user start upcheck.timer`
|
||||
|
||||
**Manually:**
|
||||
|
||||
First install [pacman-contrib](https://www.archlinux.org/packages/community/x86_64/pacman-contrib/) from ArchLinux repos:
|
||||
|
||||
```
|
||||
# pacman -Syu --needed pacman-contrib
|
||||
```
|
||||
**Withouth systemd service:**
|
||||
**Manually, Withouth systemd service:**
|
||||
|
||||
<<<<<<< HEAD
|
||||
Put the bin/upcheck binary in $HOME/.local/bin/ or /usr/bin and then execute upcheck with these parameters:
|
||||
|
||||
``````
|
||||
upcheck <N time in minutes> # Check for updates every N minutes.
|
||||
``````
|
||||
If you want to start it at login, add parameters to bashrc or WM/DE autostart config or just enable the systemd service.
|
||||
|
||||
**Using AUR package:**
|
||||
|
||||
Install the [upcheck](https://aur.archlinux.org/packages/upcheck/) package.
|
||||
|
|
@ -29,9 +25,6 @@ Install the [upcheck](https://aur.archlinux.org/packages/upcheck/) package.
|
|||
**Manually for user only:**
|
||||
|
||||
Installation is easy, put the `bin/upcheck` binary in $HOME/.local/bin/, put the `upcheck.service` into $HOME/.config/systemd/user/. **Edit** the `upcheck.service` file in the *ExecStart=* section pointing to the `upcheck` executable path and finally enable/start `upcheck.service` with the command `systemctl --user enable upcheck.service && systemctl --user start upcheck.service`
|
||||
=======
|
||||
Installation is easy, put the `bin/upcheck` binary in the /usr/bin/ system directory, then put the `upcheck.service` and `upcheck.timer` into $HOME/.config/systemd/user/ and finally enable/start the `upcheck.timer` unit with the command `systemctl --user enable upcheck.timer && systemctl --user start upcheck.timer`
|
||||
>>>>>>> 7dda82125008cbff356e0486f44e3c33f30129f8
|
||||
|
||||
**Important note**: you need a [notifications server](https://wiki.archlinux.org/index.php/Desktop_notifications#Notification_servers) if you aren't using Cinnamon, Deepin, Enlightenment, GNOME, GNOME Flashback or KDE Plasma.
|
||||
|
||||
|
|
@ -60,7 +53,7 @@ It doesn't have any special purpose, it was created only trying to avoid the use
|
|||
Modify the `upcheck.service` unit and change the ExecStart= option to the time that what you want in minutes before the executable.
|
||||
|
||||
Example:
|
||||
```u
|
||||
|
||||
```ExecStart=/usr/bin/upcheck 90 # Execute upcheck every 90 minutes.```
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue