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.
This commit is contained in:
nl6720 2022-08-07 15:59:52 +03:00
parent 47bb22aadf
commit ebc45ab2b6
1 changed files with 2 additions and 0 deletions

View File

@ -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