|
@@ -92,15 +92,15 @@ case "$1" in
|
92
|
92
|
OWNER=$(stat -c '%U' /usr/share/jitsi-videobridge)
|
93
|
93
|
GROUP=$(stat -c '%G' /usr/share/jitsi-videobridge)
|
94
|
94
|
JVB_UID="`id -u $OWNER`"
|
95
|
|
- if [ ! -f "/etc/authbind/byuid/$JVB_UID" ] ; then
|
96
|
|
- if [ ! -d "/etc/authbind/byuid" ] ; then
|
97
|
|
- mkdir -p /etc/authbind/byuid
|
|
95
|
+ if [ ! -f "/etc/authbind/byport/443" ] ; then
|
|
96
|
+ if [ ! -d "/etc/authbind/byport" ] ; then
|
|
97
|
+ mkdir -p /etc/authbind/byport
|
98
|
98
|
chmod 755 /etc/authbind
|
99
|
|
- chmod 755 /etc/authbind/byuid
|
|
99
|
+ chmod 755 /etc/authbind/byport
|
100
|
100
|
fi
|
101
|
|
- echo '::,443' >/etc/authbind/byuid/$JVB_UID
|
102
|
|
- chown $OWNER:$GROUP /etc/authbind/byuid/$JVB_UID
|
103
|
|
- chmod 700 /etc/authbind/byuid/$JVB_UID
|
|
101
|
+ touch /etc/authbind/byport/443
|
|
102
|
+ chown $OWNER /etc/authbind/byport/443
|
|
103
|
+ chmod 755 /etc/authbind/byport/443
|
104
|
104
|
fi
|
105
|
105
|
|
106
|
106
|
if [ "$CERT_CHOICE" = "$UPLOADED_CERT_CHOICE" ] ; then
|