aboutsummaryrefslogtreecommitdiff
path: root/airootfs/etc/systemd/system/pacman-init.service
diff options
context:
space:
mode:
authorAlee <alee14498@gmail.com>2018-02-16 20:25:23 -0500
committerAlee <alee14498@gmail.com>2018-02-16 20:25:23 -0500
commite8d6a6cd916351b86070254d739e4932841aed35 (patch)
tree4cfaefda753cae13b644dc5be80cf2f7265b2c69 /airootfs/etc/systemd/system/pacman-init.service
parentb5b77ba3ca1ee06bf315d9980599761feb043ad4 (diff)
downloadProject-Caelus-e8d6a6cd916351b86070254d739e4932841aed35.tar.gz
Project-Caelus-e8d6a6cd916351b86070254d739e4932841aed35.tar.bz2
Project-Caelus-e8d6a6cd916351b86070254d739e4932841aed35.zip
Added Source Code
Diffstat (limited to 'airootfs/etc/systemd/system/pacman-init.service')
-rw-r--r--airootfs/etc/systemd/system/pacman-init.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/airootfs/etc/systemd/system/pacman-init.service b/airootfs/etc/systemd/system/pacman-init.service
new file mode 100644
index 0000000..23b8144
--- /dev/null
+++ b/airootfs/etc/systemd/system/pacman-init.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=Initializes Pacman keyring
+Wants=haveged.service
+After=haveged.service
+Requires=etc-pacman.d-gnupg.mount
+After=etc-pacman.d-gnupg.mount
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/usr/bin/pacman-key --init
+ExecStart=/usr/bin/pacman-key --populate archlinux
+
+[Install]
+WantedBy=multi-user.target