summarylogtreecommitdiffstats
path: root/concrnt-activitypub.hook
blob: e0b5b551cf971f91a7e9cca5e8401df1405cf581 (plain)
1
2
3
4
5
6
7
8
9
[Trigger]
Type = Package
Operation = Upgrade
Target = concrnt-activitypub-bin

[Action]
Description = Restarting concrnt-activitypub...
When = PostTransaction
Exec = /bin/bash -c '/usr/bin/systemctl is-active concrnt-activitypub.service -q && /usr/bin/systemctl restart concrnt-activitypub.service || /usr/bin/true'