Introduction
Introduction Statistics Contact Development Disclaimer Help
Text synth fix + various changes for service stability. - annna - Annna the nic…
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit a99197bed613a145ff0a1d04752de4d35b6789b4
parent 959963ae12b0dad28fdd21ee993d5c96614fa82e
Author: Annna Robert-Houdin <[email protected]>
Date: Tue, 12 May 2020 12:00:47 +0200
Text synth fix + various changes for service stability.
Diffstat:
M annna-start-checker | 2 ++
M annna-start-main | 4 ++--
M annna-start-services | 7 ++++++-
M annna-stop-services | 1 -
4 files changed, 10 insertions(+), 4 deletions(-)
---
diff --git a/annna-start-checker b/annna-start-checker
@@ -15,7 +15,9 @@ do
if [ -z "$socatpid" -o -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
fi
diff --git a/annna-start-main b/annna-start-main
@@ -8,7 +8,8 @@ export PATH="$PATH:/home/annna/bin"
channels="#bitreich-con #bitreich-radio
#bitreich-scm #bitreich-en #bitreich-de
#bitreich-fr #bitreich-cooking
- #bitreich-nl #bitreich-lawn"
+ #bitreich-nl #bitreich-lawn #bitreich-it
+ #bitreich-tv"
# Testing
#channels="#bitreich-radio"
@@ -92,6 +93,5 @@ do
done
# Services
-annna-stop-services
annna-start-services
diff --git a/annna-start-services b/annna-start-services
@@ -281,7 +281,12 @@ then
dresult="$(textsynth-complete "${word}")"
if [ -n "${dresult}" ];
then
- purl="$(printf "%s" "${dresult}" | /br…
+ purl="$({
+ # First the old words.
+ printf "%s" "${word}";
+ # then the generated text.
+ printf "%s" "${dresult}";
+ } | /br/bin/bitreich-paste)"
else
purl="Textsynth did not answer."
fi
diff --git a/annna-stop-services b/annna-stop-services
@@ -1,5 +1,4 @@
#!/bin/sh
pkill -f "entr tail -n 1 /home/annna/irc.*"
-pkill -f annna-start-services
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.