diff options
| author | Shulhan <ms@kilabit.info> | 2022-07-01 00:09:42 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2022-07-25 19:29:22 +0700 |
| commit | 9f8819d2a7682da47da16e0f13860e6026e273bd (patch) | |
| tree | 56fb629ba18e673f87894a3f15c292dcb7467e5d /sys/etc/systemd | |
| parent | e5d68bdf0d8e73160bbb270eb730b0f5ea441803 (diff) | |
| download | compute-archlinux-image-builder-9f8819d2a7682da47da16e0f13860e6026e273bd.tar.xz | |
all: populate pacman-init.service from file
Diffstat (limited to 'sys/etc/systemd')
| -rw-r--r-- | sys/etc/systemd/system/pacman-init.service | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sys/etc/systemd/system/pacman-init.service b/sys/etc/systemd/system/pacman-init.service new file mode 100644 index 0000000..ed515f4 --- /dev/null +++ b/sys/etc/systemd/system/pacman-init.service @@ -0,0 +1,12 @@ +[Unit] +Description=Pacman keyring initialization +ConditionDirectoryNotEmpty=!/etc/pacman.d/gnupg + +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStart=/usr/bin/pacman-key --init +ExecStart=/usr/bin/pacman-key --populate archlinux + +[Install] +WantedBy=multi-user.target |
