소스 검색

Check for server file

Bob Mottram 8 년 전
부모
커밋
64aa7eb944
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4
    0
      src/freedombone-app-tahoelafs

+ 4
- 0
src/freedombone-app-tahoelafs 파일 보기

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