2021-01-11 10:52:14 +00:00
|
|
|
#!/bin/sh -e
|
|
|
|
|
|
|
|
if grep -qE "^__file/etc/nginx" "${__messages_in}"; then
|
|
|
|
echo "service nginx reload"
|
|
|
|
fi
|
2021-05-10 14:40:46 +00:00
|
|
|
|
|
|
|
JITSI_HOST="${__object_id}"
|
|
|
|
if grep -qE "^(__line/jitsi_jicofo_secured_domains|__file/etc/prosody/conf.d/${JITSI_HOST}.zauth.cfg.lua)" "${__messages_in}"; then
|
|
|
|
echo "systemctl restart prosody"
|
|
|
|
echo "systemctl restart jicofo"
|
|
|
|
echo "systemctl restart jitsi-videobridge2"
|
|
|
|
fi
|