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