Skip to content

Instantly share code, notes, and snippets.

@leftshift
Created July 17, 2018 09:00
Show Gist options
  • Save leftshift/94a1fec6685671116702cc257c8c442e to your computer and use it in GitHub Desktop.
Save leftshift/94a1fec6685671116702cc257c8c442e to your computer and use it in GitHub Desktop.
pacman: restart dovecot after it has been upgraded
[Trigger]
Operation = Upgrade
Type = Package
Target = dovecot
[Action]
Description = Restart dovecot after upgrade so starting services doesn't fail due to version mismatch
When = PostTransaction
Exec = /usr/bin/systemctl restart dovecot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment