Disable port
This commit is contained in:
parent
ff046906ef
commit
f08b54efa9
|
@ -373,6 +373,11 @@ function install_tahoelafs {
|
|||
else
|
||||
echo 'tub.location = disabled' >> $TAHOELAFS_STORAGE_CONFIG
|
||||
fi
|
||||
if grep -q 'tub.port' $TAHOELAFS_STORAGE_CONFIG; then
|
||||
sed -i "s|tub.port.*|tub.port = disabled|g" $TAHOELAFS_STORAGE_CONFIG
|
||||
else
|
||||
echo 'tub.port = disabled' >> $TAHOELAFS_STORAGE_CONFIG
|
||||
fi
|
||||
sed -i "s|web.port.*|web.port =|g" $TAHOELAFS_STORAGE_CONFIG
|
||||
|
||||
su -c '/home/tahoelafs/tahoelafs/venv/bin/python2 /home/tahoelafs/tahoelafs/venv/bin/tahoe start /home/tahoelafs/storage' - tahoelafs
|
||||
|
|
Loading…
Reference in New Issue