small bugfixes
This commit is contained in:
parent
e6d087d2da
commit
af663e074e
1 changed files with 4 additions and 4 deletions
|
@ -12,7 +12,7 @@ kernel_release="$(cat "${__object}/explorer/kernel_release")"
|
|||
case "${os}" in
|
||||
devuan|debian)
|
||||
if echo "${kernel_release}" | grep -qE "cloud|rt"; then
|
||||
printf "using wrong kernel ${kernel_release}, do/use: apt install linux-image-amd64" >&2
|
||||
echo "using wrong kernel ${kernel_release}, do/use: apt install linux-image-amd64" >&2
|
||||
exit 1
|
||||
fi
|
||||
;;
|
||||
|
@ -23,7 +23,7 @@ case "${os}" in
|
|||
# and to check for different kernel
|
||||
# src https://github.com/jitsi/jibri#installation-notes
|
||||
*)
|
||||
echo "Your OS '${os}' is currently not supported." > /dev/stderr
|
||||
echo "Your OS '${os}' is currently not supported." >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
@ -103,7 +103,7 @@ require="__directory/${CHROME_POLICIES}" __file "${CHROME_POLICIES}/managed_poli
|
|||
EOF
|
||||
|
||||
# Proceed only after installation/upgrade has finished
|
||||
export require="__package/jibri"
|
||||
export require='__package/jibri'
|
||||
__user_groups 'jibri' --group 'adm' --group 'audio' --group 'video' --group 'plugdev'
|
||||
|
||||
# TODO tell to evilham that this way, missing a variable makes the whole file to be unprocessed, is it desirable?
|
||||
|
@ -127,8 +127,8 @@ __file '/opt/jitsi/jibri/launch.sh' \
|
|||
--onchange 'systemctl daemon-reload && systemctl restart jibri.service' \
|
||||
--mode 755 \
|
||||
--source '-' <<EOF
|
||||
# Managed remotely, changes will be lost
|
||||
#!/bin/bash
|
||||
# Managed remotely, changes will be lost
|
||||
|
||||
exec /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java -Djava.util.logging.config.file=/etc/jitsi/jibri/logging.properties -Dconfig.file="/etc/jitsi/jibri/jibri.conf" -jar /opt/jitsi/jibri/jibri.jar --config "/etc/jitsi/jibri/config.json"
|
||||
EOF
|
||||
|
|
Loading…
Reference in a new issue