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
|
Changed
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
- Order ``pacman-init.service`` before ``archlinux-keyring-wkd-sync.service`` since
|
||||||
|
``archlinux-keyring-wkd-sync.service`` needs an initialized pacman keyring.
|
||||||
|
|
||||||
Removed
|
Removed
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
@ -2,6 +2,8 @@
|
|||||||
Description=Initializes Pacman keyring
|
Description=Initializes Pacman keyring
|
||||||
Requires=etc-pacman.d-gnupg.mount
|
Requires=etc-pacman.d-gnupg.mount
|
||||||
After=etc-pacman.d-gnupg.mount
|
After=etc-pacman.d-gnupg.mount
|
||||||
|
BindsTo=etc-pacman.d-gnupg.mount
|
||||||
|
Before=archlinux-keyring-wkd-sync.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
|
Loading…
Reference in New Issue
Block a user