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

[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'