🗝
summary refs log tree commit diff
path: root/packages/searxng/searxng.hook
blob: 6a99f070edf7191fba92e18c7e2631c1315ffcf0 (plain) (blame)
1
2
3
4
5
6
7
8
9
[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'