From c8d90cd1b10c0d1524a11761e1145e575e647062 Mon Sep 17 00:00:00 2001 From: qo-op Date: Thu, 14 May 2020 02:10:45 +0200 Subject: [PATCH] REstarting OASIS --- .install/loveland.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.install/loveland.sh b/.install/loveland.sh index ea395ed..30c942c 100755 --- a/.install/loveland.sh +++ b/.install/loveland.sh @@ -73,9 +73,14 @@ sudo chmod 777 /var/www/loveland/jukebox/prefs sudo systemctl restart nginx || err=1 +echo "REstarting OASIS" +kill -9 $(ps auxf --sort=+utime | grep -w oasis | grep -v -E 'color=auto|grep' | tail -n 1 | awk '{print $2}') +kill -9 $(ps auxf --sort=+utime | grep -w ssb-patchwork | grep -v -E 'color=auto|grep' | tail -n 1 | awk '{print $2}') +oasis --allow-host $nodename --host $nodename & + if [[ $err ]]; then - echo -e "${c_red}Installation de LOVELand incomplète $c_" - echo "POST ISSUE! https://git.p2p.legal/axiom-team/astroport/issues" + echo -e "${c_red}Installation de LOVELand bizarre??$c_" + echo "PLEASE... POST YOUR ISSUE! https://git.p2p.legal/axiom-team/astroport/issues" exit 1 else echo -e "${c_green}LOVE Land a été installé avec succès$c_"