cdist-contrib-pedro-fork/type/__jitsi_jibri/gencode-remote

11 lines
200 B
Bash
Executable File

#!/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