aboutsummaryrefslogtreecommitdiff
path: root/live/airootfs/etc/systemd/system/pacman-init.service
diff options
context:
space:
mode:
authorAlee <alee14498@gmail.com>2018-02-16 20:34:12 -0500
committerAlee <alee14498@gmail.com>2018-02-16 20:34:12 -0500
commit0de20832b0a2919f799d14c6cad5579afe132bf3 (patch)
treeb2fc5eb6bbb5ffc604bcdae20cfa263346b72b5c /live/airootfs/etc/systemd/system/pacman-init.service
parente8d6a6cd916351b86070254d739e4932841aed35 (diff)
downloadProject-Caelus-0de20832b0a2919f799d14c6cad5579afe132bf3.tar.gz
Project-Caelus-0de20832b0a2919f799d14c6cad5579afe132bf3.tar.bz2
Project-Caelus-0de20832b0a2919f799d14c6cad5579afe132bf3.zip
Moved files
Diffstat (limited to 'live/airootfs/etc/systemd/system/pacman-init.service')
-rw-r--r--live/airootfs/etc/systemd/system/pacman-init.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/live/airootfs/etc/systemd/system/pacman-init.service b/live/airootfs/etc/systemd/system/pacman-init.service
new file mode 100644
index 0000000..23b8144
--- /dev/null
+++ b/live/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