Ensure that jicofo daemon remains torified

This commit is contained in:
Bob Mottram 2016-11-09 14:37:17 +00:00
parent c472efa11a
commit dd447fca7b
1 changed files with 6 additions and 1 deletions

View File

@ -164,7 +164,12 @@ function reconfigure_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 {