Introduction
Introduction Statistics Contact Development Disclaimer Help
Fix old socat bug. We switched to ii ssl. - annna - Annna the nice friendly bot.
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit fff4263b26ef2aba0f00293747d76c330b81555c
parent 7b761e77c02c23a0cc91aca7a16429100a514c70
Author: Annna Robert-Houdin <[email protected]>
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(-)
---
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
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
-
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.