Added service and timer to dl packages hourly

Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
This commit is contained in:
Marko Korhonen 2019-11-19 13:49:27 +02:00
parent 2e34130236
commit c13916c1f5
3 changed files with 23 additions and 0 deletions

View file

@ -0,0 +1,10 @@
[Unit]
Description=Download package updates
After=network-online.target
[Service]
Type=oneshot
ExecStart=/usr/bin/pacman -Syuw --noconfirm
[Install]
WantedBy=network-online.target

View file

@ -0,0 +1,5 @@
[Unit]
Description=Download packages hourly
[Timer]
OnCalendar=hourly