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:
parent
674f004170
commit
ced3d3ffa3
@ -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
|
||||
-------
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user