Fix old socat bug. We switched to ii ssl. - annna - Annna the nice friendly bot. HTML git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/ DIR Log DIR Files DIR Refs DIR Tags DIR README --- DIR commit fff4263b26ef2aba0f00293747d76c330b81555c DIR parent 7b761e77c02c23a0cc91aca7a16429100a514c70 HTML Author: Annna Robert-Houdin <annna@bitreich.org> Date: Wed, 19 May 2021 23:21:23 +0200 Fix old socat bug. We switched to ii ssl. Diffstat: M annna-start-checker | 5 +---- D annna-stop-socat | 6 ------ 2 files changed, 1 insertion(+), 10 deletions(-) --- DIR diff --git a/annna-start-checker b/annna-start-checker @@ -9,13 +9,10 @@ export PATH="$PATH:/home/annna/bin" while /bin/true; do # Is annna still in her world? - socatpid="$(pgrep -U annna -x socat)" iipid="$(pgrep -U annna -x ii)" - if [ -z "$socatpid" -o -z "$iipid" ]; + if [ -z "$iipid" ]; then - annna-stop-socat >/dev/null 2>&1 - sleep 2 annna-stop-services >/dev/null 2>&1 sleep 2 annna-start-main >/dev/null 2>&1 DIR diff --git a/annna-stop-socat b/annna-stop-socat @@ -1,6 +0,0 @@ -#!/bin/sh - -export PATH="$PATH:/home/annna/bin" - -pkill -KILL -U annna -x socat -