tahoelafs tor handler

This commit is contained in:
Bob Mottram 2017-06-10 13:17:25 +01:00
parent 7685366ca2
commit 433f3596d5
1 changed files with 2 additions and 0 deletions

View File

@ -361,6 +361,7 @@ function remove_tahoelafs {
systemctl disable tahoelafs-client systemctl disable tahoelafs-client
rm /etc/systemd/system/tahoelafs-client.service rm /etc/systemd/system/tahoelafs-client.service
pip uninstall tahoe-lafs[tor]
apt-get -yq remove tahoe-lafs apt-get -yq remove tahoe-lafs
if [ -d /var/lib/tahoelafs ]; then if [ -d /var/lib/tahoelafs ]; then
@ -616,6 +617,7 @@ function install_tahoelafs {
apt-get -yq install build-essential python-pip python-dev libffi-dev libssl-dev apt-get -yq install build-essential python-pip python-dev libffi-dev libssl-dev
apt-get -yq install libcrypto++-dev python-pycryptopp python-cffi python-virtualenv apt-get -yq install libcrypto++-dev python-pycryptopp python-cffi python-virtualenv
apt-get -yq install tahoe-lafs apt-get -yq install tahoe-lafs
pip install tahoe-lafs[tor]
# create a user # create a user
if [ ! -d $TAHOE_DIR ]; then if [ ! -d $TAHOE_DIR ]; then