ebc45ab2b6
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.
16 lines
346 B
Desktop File
16 lines
346 B
Desktop File
[Unit]
|
|
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
|
|
RemainAfterExit=yes
|
|
ExecStart=/usr/bin/pacman-key --init
|
|
ExecStart=/usr/bin/pacman-key --populate
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|