Reintroduce tahoe-lafs

This commit is contained in:
Bob Mottram 2017-03-03 18:48:33 +00:00
parent d6e41c693c
commit 06159ffdf3
1 changed files with 12 additions and 4 deletions

View File

@ -28,13 +28,13 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
VARIANTS=''
VARIANTS='full full-vim cloud'
IN_DEFAULT_INSTALL=0
SHOW_ON_ABOUT=1
TAHOELAFS_REPO="https://github.com/tahoe-lafs/tahoe-lafs"
TAHOELAFS_COMMIT='30b421d48b3d1dae2ef507bf27a1f3816300cd92'
TAHOELAFS_COMMIT='bb782b0331a60de438136a593bba18338d8d866b'
TAHOELAFS_PORT=50213
TAHOELAFS_WEB_PORT=3456
@ -115,8 +115,13 @@ function reconfigure_tahoelafs {
}
function upgrade_tahoelafs {
echo -n ''
# TODO
systemctl stop tahoelafs
function_check set_repo_commit
set_repo_commit /home/tahoelafs/tahoelafs "tahoelafs commit" "$TAHOELAFS_COMMIT" $TAHOELAFS_REPO
cd /home/tahoelafs/tahoelafs
virtualenv venv
venv/bin/pip install --editable .
systemctl start tahoelafs
}
function backup_local_tahoelafs {
@ -343,6 +348,9 @@ function install_tahoelafs {
systemctl enable tahoelafs
systemctl daemon-reload
systemctl start tahoelafs
set_completion_param "tahoelafs commit" "$TAHOELAFS_COMMIT"
APP_INSTALLED=1
}