Check for server file

This commit is contained in:
Bob Mottram 2017-03-07 14:59:17 +00:00
parent 10258bd293
commit 64aa7eb944
1 changed files with 4 additions and 0 deletions

View File

@ -622,6 +622,10 @@ function install_tahoelafs {
echo $'Unable to create tahoelafs server'
exit 738752
fi
if [ ! -f ${tahoelafs_storage_file} ]; then
echo $'tahoelafs server file missing'
exit 529362
fi
# start the storage node
su -c '/home/tahoelafs/tahoelafs/venv/bin/python2 /home/tahoelafs/tahoelafs/venv/bin/tahoe start /home/tahoelafs/storage' - tahoelafs