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