From 79abc93fcf2dbac4a5b94f8dd11d8e5d6f5d5292 Mon Sep 17 00:00:00 2001 From: pedro Date: Wed, 8 Jun 2022 17:06:17 +0200 Subject: [PATCH] add gencode-remote to jibri tested that this makes a new instance to work after the cdist procedure --- type/__jitsi_jibri/gencode-remote | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 type/__jitsi_jibri/gencode-remote 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