You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yacy_search_server/bin/deploy.sh

16 lines
240 B

#!/usr/bin/env bash
cd "`dirname $0`"
cd ..
./stopYACY.sh
#./killYACY.sh
cd DATA/RELEASE/
rm ../../lib/*
rm -Rf yacy
tar xfz `basename $1`
cp -Rf yacy/* ../../
rm -Rf yacy
cd ../../
chmod 755 *.sh
chmod 755 bin/*.sh
nohup ./startYACY.sh -l