Skip to content
Snippets Groups Projects
pacman-init.service 402 B
Newer Older
Strit's avatar
Strit committed
[Unit]
Description=Initialize Pacman keyring
Wants=haveged.service
After=haveged.service

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStartPre=/usr/bin/rm -rf /etc/pacman.d/gnupg
Strit's avatar
Strit committed
ExecStart=/usr/bin/pacman-key --init
Dan Johansen's avatar
Dan Johansen committed
ExecStart=/usr/bin/pacman-key --populate archlinux archlinuxarm manjaro manjaro-arm
ExecStartPost=/usr/bin/systemctl disable pacman-init.service
Strit's avatar
Strit committed

[Install]
WantedBy=multi-user.target