diff --git a/type/__jitsi_jibri/gencode-remote b/type/__jitsi_jibri/gencode-remote new file mode 100755 index 0000000..3c3e605 --- /dev/null +++ b/type/__jitsi_jibri/gencode-remote @@ -0,0 +1,10 @@ +#!/bin/sh -e + +if grep -qE "__file" "${__messages_in}"; then + RESTART_SERVICES="YES" +fi + +if [ -n "${RESTART_SERVICES}" ]; then + echo "systemctl restart jibri" + echo "systemctl restart jibri-xorg" +fi