diff --git a/.install/scuttlebutt.sh b/.install/scuttlebutt.sh index 42a47a4..876e000 100755 --- a/.install/scuttlebutt.sh +++ b/.install/scuttlebutt.sh @@ -6,8 +6,8 @@ scuttlebutt() { BASE_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" if [[ ! $where_is_ssb_installed ]]; then - # BRUTAL WAY... TODO soften - killall node + # KILL the BRUTAL WAY... + kill -9 $(ps auxf --sort=+utime | grep -w ssb-server| grep -v -E 'color=auto|grep' | tail -n 1 | awk '{print $2}') # Install dependencies sudo apt-get install -y socat python3-dev libtool python3-setuptools autoconf automake @@ -65,7 +65,7 @@ scuttlebutt() { if [[ $extension == $nodename ]]; then - nodename=$nodename.home + nodename=$nodename.local # LOCAL cat > ~/.ssb/config < ~/.ssb/manifest.json + sbotc -t async manifest > ~/.ssb/manifest.json oasis --allow-host $nodename --host $nodename & echo "TODO: Protect behind nginx redirect !!!"