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