Skip to content
Snippets Groups Projects
Commit f08b54ef authored by Bob Mottram's avatar Bob Mottram
Browse files

Disable port

parent ff046906
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment