[Trigger] Type = Package Operation = Upgrade Target = dissociate [Action] Description = Restarting dissociate daemon... When = PostTransaction Exec = /bin/bash -c '/usr/bin/systemctl is-active dissociate.service -q && /usr/bin/systemctl restart dissociate.service || /usr/bin/true'