summaryrefslogtreecommitdiff
path: root/releng/airootfs/etc/systemd/system/pacman-init.service
diff options
context:
space:
mode:
authornippy <you@example.com>2026-04-12 18:11:38 +0200
committernippy <you@example.com>2026-04-12 18:11:38 +0200
commit89d442a74ab0b3fc49f838c15f3f722f1be74720 (patch)
tree97c021670032230f020c2b45e6cd2aabd3dc1a00 /releng/airootfs/etc/systemd/system/pacman-init.service
parent71d4e0832da17f0ba97b7a5db86c6bf45be4e894 (diff)
downloadRaveOS-build-iso-89d442a74ab0b3fc49f838c15f3f722f1be74720.tar.gz
RaveOS-build-iso-89d442a74ab0b3fc49f838c15f3f722f1be74720.zip
live
Diffstat (limited to 'releng/airootfs/etc/systemd/system/pacman-init.service')
-rw-r--r--releng/airootfs/etc/systemd/system/pacman-init.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/releng/airootfs/etc/systemd/system/pacman-init.service b/releng/airootfs/etc/systemd/system/pacman-init.service
new file mode 100644
index 0000000..82e0e0f
--- /dev/null
+++ b/releng/airootfs/etc/systemd/system/pacman-init.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=Initializes Pacman keyring
+Requires=etc-pacman.d-gnupg.mount
+Wants=network-online.target
+After=etc-pacman.d-gnupg.mount time-sync.target network-online.target
+BindsTo=etc-pacman.d-gnupg.mount
+Before=archlinux-keyring-wkd-sync.service
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/usr/bin/pacman-key --init
+ExecStart=/usr/bin/pacman-key --populate
+
+[Install]
+WantedBy=multi-user.target