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

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