summaryrefslogtreecommitdiffstats
path: root/ship/src/tahoe_install
blob: d956ff13cec149cd55d865350e5b7f3b8fb5f1b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
#@strict
#@core
#@color
#@include tahoe
esudo "$@"
tahoe_init
tahoe_create_node
if sudo -u tahoe tahoe start ;then
    info "everything went fine, autostart tahoe somewhere with: 'sudo -u tahoe tahoe start'"
else
    error "somewhere something went wrong, could not start tahoe daemon"
    error "tahoe should be installed under /home/tahoe/.tahoe"
    die "sorry :("
fi