]> git.rmz.io Git - dotfiles.git/blob - systemd/user/checkupdates.service
mutt: unset signature to silence warning at startup
[dotfiles.git] / systemd / user / checkupdates.service
1 # Requires following line in sudoers allowing users in wheel
2 # to download packages without password
3 # %wheel ALL=(ALL) NOPASSWD: /usr/bin/pacman -Sw --noconfirm * --dbpath *
4
5 [Unit]
6 Description=Check pacman updates and dowload packages to cache
7 After=network-online.target
8
9 [Service]
10 Type=oneshot
11 ExecStart=/usr/bin/checkupdates -d
12 # checkupdates returns 2 when there are no updates
13 SuccessExitStatus=2