Ensure that jicofo daemon remains torified
This commit is contained in:
parent
c472efa11a
commit
dd447fca7b
|
@ -164,7 +164,12 @@ function reconfigure_jitsi {
|
||||||
}
|
}
|
||||||
|
|
||||||
function upgrade_jitsi {
|
function upgrade_jitsi {
|
||||||
echo -n ''
|
if [ -f /etc/init.d/jicofo ]; then
|
||||||
|
systemctl stop jicofo
|
||||||
|
sed -i 's|exec $DAEMON|exec /usr/bin/torify $DAEMON|g' /etc/init.d/jicofo
|
||||||
|
systemctl daemon-reload
|
||||||
|
systemctl start jicofo
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
function backup_local_jitsi {
|
function backup_local_jitsi {
|
||||||
|
|
Loading…
Reference in New Issue