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

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