Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/configs/releng/airootfs/etc/systemd/system/pacman-init.service
diff options
context:
space:
mode:
authornl6720 <nl6720@gmail.com>2022-08-07 15:59:52 +0300
committernl6720 <nl6720@gmail.com>2022-09-01 09:41:00 +0300
commitced3d3ffa384600012618612c98476a231f5fb89 (patch)
treefb9d4420dc83719338e37e21cd9b01f9ae137422 /configs/releng/airootfs/etc/systemd/system/pacman-init.service
parent674f0041703a3ff0dea652436274e1634196e663 (diff)
Order pacman-init.service before archlinux-keyring-wkd-sync.service
archlinux-keyring-wkd-sync.service needs an initialized pacman keyring to work. Add BindsTo=etc-pacman.d-gnupg.mount to stop pacman-init.service if the mount unit suddenly enters inactive state.
Diffstat (limited to 'configs/releng/airootfs/etc/systemd/system/pacman-init.service')
-rw-r--r--configs/releng/airootfs/etc/systemd/system/pacman-init.service2
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/releng/airootfs/etc/systemd/system/pacman-init.service b/configs/releng/airootfs/etc/systemd/system/pacman-init.service
index b18f7f8..9ad2e69 100644
--- a/configs/releng/airootfs/etc/systemd/system/pacman-init.service
+++ b/configs/releng/airootfs/etc/systemd/system/pacman-init.service
@@ -2,6 +2,8 @@
Description=Initializes Pacman keyring
Requires=etc-pacman.d-gnupg.mount
After=etc-pacman.d-gnupg.mount
+BindsTo=etc-pacman.d-gnupg.mount
+Before=archlinux-keyring-wkd-sync.service
[Service]
Type=oneshot