diff options
| author | Thorsten Töpper <atsutane@freethoughts.de> | 2024-01-09 17:34:05 +0100 |
|---|---|---|
| committer | Thorsten Töpper <atsutane@freethoughts.de> | 2024-01-09 17:34:05 +0100 |
| commit | 08d1544cb45b521d13818b74c919d9418d8d7e9a (patch) | |
| tree | 3e5d3a7524260937b15f10269d588b4b3fa6e94b /systemd | |
| parent | 484f8ddcf5f885c321b8ea7dc131f8be61d280a2 (diff) | |
| download | dotfiles-08d1544cb45b521d13818b74c919d9418d8d7e9a.tar.gz dotfiles-08d1544cb45b521d13818b74c919d9418d8d7e9a.tar.bz2 | |
Arch Linux: systemd timers for keyring update
Diffstat (limited to 'systemd')
| -rw-r--r-- | systemd/archlinux-keyring-update.service | 8 | ||||
| -rw-r--r-- | systemd/archlinux-keyring-update.timer | 13 |
2 files changed, 21 insertions, 0 deletions
diff --git a/systemd/archlinux-keyring-update.service b/systemd/archlinux-keyring-update.service new file mode 100644 index 0000000..17f98f2 --- /dev/null +++ b/systemd/archlinux-keyring-update.service @@ -0,0 +1,8 @@ +[Unit] +Description=For updating the archlinux-keyring package + +[Service] +Type=oneshot +Exec=/usr/bin/pacman -Sy archlinux-keyring --needed --noconfirm +User=root + diff --git a/systemd/archlinux-keyring-update.timer b/systemd/archlinux-keyring-update.timer new file mode 100644 index 0000000..df6427c --- /dev/null +++ b/systemd/archlinux-keyring-update.timer @@ -0,0 +1,13 @@ +[Unit] +Description=Upgrade the archlinux-keyring package each day + +[Timer] +OnBootSec=5min +OnCalendar=*-*-* 7:00:00 +RandomizedDelaySec=20m +Persistent=true +Unit=archlinux-keyring-update.service + +[Install] +WantedBy=timers.target + |
