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