summarylogtreecommitdiffstats
path: root/iceshrimp.net.hook
blob: 2f89aa358518a7739b325cd873137ef965449f30 (plain)
1
2
3
4
5
6
7
8
9
10
11
[Trigger]
Type = Package
Operation = Upgrade
Target = iceshrimp.net-pre-bin
Target = aspnet-runtime
Target = dotnet-runtime

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