blob: fcfaeb64919173ffce798d4ccf92adb84306f03f (
plain)
1
2
3
4
5
6
7
8
9
|
[Trigger]
Type = Package
Operation = Upgrade
Target = concrnt-api
[Action]
Description = Restarting concrnt-api...
When = PostTransaction
Exec = /bin/bash -c '/usr/bin/systemctl is-active concrnt-api.service -q && /usr/bin/systemctl restart concrnt-api.service || /usr/bin/true'
|