blob: a3fdb22064f088d7e2ffe4ae409f793fcbe74521 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
[Trigger]
Type = Package
Operation = Upgrade
Target = iceshrimp.net-pre
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'
|