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