summarylogtreecommitdiffstats
path: root/iceshrimp.hook
blob: 833ba42f0e995c350987c7fbfc497dab9269c22b (plain)
1
2
3
4
5
6
7
8
9
[Trigger]
Type = Package
Operation = Upgrade
Target = iceshrimp

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