|
@@ -626,6 +626,8 @@ function install_tahoelafs {
|
626
|
626
|
su -c '/home/tahoelafs/tahoelafs/venv/bin/python2 /home/tahoelafs/tahoelafs/venv/bin/tahoe start /home/tahoelafs/storage' - tahoelafs
|
627
|
627
|
create_tahoelafs_daemon "storage"
|
628
|
628
|
|
|
629
|
+ # start the client
|
|
630
|
+ su -c '/home/tahoelafs/tahoelafs/venv/bin/python2 /home/tahoelafs/tahoelafs/venv/bin/tahoe start /home/tahoelafs/client' - tahoelafs
|
629
|
631
|
add_tahoelafs_server "$(get_tahoelafs_storage_hostname)" "$(get_tahoelafs_public_key)" "${node_nick}" "$(get_tahoelafs_furl)"
|
630
|
632
|
if ! grep -q "HidServAuth $(get_tahoelafs_storage_hostname)" /etc/tor/torrc; then
|
631
|
633
|
echo $'Unable to create tahoelafs server'
|
|
@@ -635,9 +637,6 @@ function install_tahoelafs {
|
635
|
637
|
echo $'tahoelafs server file missing'
|
636
|
638
|
exit 529362
|
637
|
639
|
fi
|
638
|
|
-
|
639
|
|
- # start the client
|
640
|
|
- su -c '/home/tahoelafs/tahoelafs/venv/bin/python2 /home/tahoelafs/tahoelafs/venv/bin/tahoe start /home/tahoelafs/client' - tahoelafs
|
641
|
640
|
create_tahoelafs_daemon "client"
|
642
|
641
|
|
643
|
642
|
set_completion_param "tahoelafs commit" "$TAHOELAFS_COMMIT"
|