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 674f004170
commit ced3d3ffa3
No known key found for this signature in database
GPG Key ID: 5CE88535E188D369
2 changed files with 5 additions and 0 deletions

View File

@ -11,6 +11,9 @@ Added
Changed
-------
- Order ``pacman-init.service`` before ``archlinux-keyring-wkd-sync.service`` since
``archlinux-keyring-wkd-sync.service`` needs an initialized pacman keyring.
Removed
-------

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