Restart tor daemon after upgrade

This commit is contained in:
Bob Mottram 2018-01-29 22:44:36 +00:00
parent 56887a0db2
commit 5d0701c6ff
1 changed files with 1 additions and 0 deletions

View File

@ -102,6 +102,7 @@ if [ -d $PROJECT_DIR ]; then
tor_version=$(tor --version)
if [[ "$tor_version" == *' 0.2'* ]]; then
echo 'N' | apt-get -yq -t stretch-backports install tor
systemctl restart tor
fi
fi
fi