瀏覽代碼

disable storage location

Bob Mottram 8 年之前
父節點
當前提交
54e77d2654
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      src/freedombone-app-tahoelafs

+ 1
- 0
src/freedombone-app-tahoelafs 查看文件

368
         echo $'Unable to create storage node'
368
         echo $'Unable to create storage node'
369
         exit 782523
369
         exit 782523
370
     fi
370
     fi
371
+    sed -i "s|tub.location.*|tub.location = disabled|g" $TAHOELAFS_STORAGE_CONFIG
371
 
372
 
372
     su -c '/home/tahoelafs/tahoelafs/venv/bin/python2 /home/tahoelafs/tahoelafs/venv/bin/tahoe start /home/tahoelafs/storage' - tahoelafs
373
     su -c '/home/tahoelafs/tahoelafs/venv/bin/python2 /home/tahoelafs/tahoelafs/venv/bin/tahoe start /home/tahoelafs/storage' - tahoelafs
373
     create_tahoelafs_daemon "storage"
374
     create_tahoelafs_daemon "storage"