From ced3d3ffa384600012618612c98476a231f5fb89 Mon Sep 17 00:00:00 2001 From: nl6720 Date: Sun, 7 Aug 2022 15:59:52 +0300 Subject: 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. --- configs/releng/airootfs/etc/systemd/system/pacman-init.service | 2 ++ 1 file changed, 2 insertions(+) (limited to 'configs/releng/airootfs/etc') 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 -- cgit v1.2.3-70-g09d2