Restart tor daemon after upgrade
This commit is contained in:
parent
56887a0db2
commit
5d0701c6ff
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue