automated terminal push

This commit is contained in:
Your Name
2025-02-09 20:29:43 -05:00
parent 9f4fb533fa
commit 8a06df8cd0
9 changed files with 37 additions and 36 deletions

View File

@@ -1,7 +1,7 @@
#!/bin/bash
echo "##"
echo "## launch > yankee > downloader node provisioning"
echo "## launch > yankee > downloader node provision"
echo "##"
apt update
@@ -14,34 +14,4 @@ pip install stomp.py
pip install selenium
## for rest situations
pip install requests
##
####
cd /
git clone https://code.yankee.embanet.online/yankee/yankee-gnome-fire-consumer.git
chmod 777 yankee-gnome-fire-consumer -R
cd yankee-gnome-fire-consumer
chmod +x *.bash
chmod +x *.sh
bash provision.bash
pppwd=`pwd`
echo " dir / "$pppwd
##echo "python3 $pppwd/consumer.py" | at now + 1 minutes
##echo "/yankee/go.sh" | at now + 10 minutes
####

View File

@@ -94,6 +94,26 @@ service cron status
####
####
cd /
rm -rf /yankee-gnome-fire-consumer
git clone https://code.yankee.embanet.online/yankee/yankee-gnome-fire-consumer.git
chmod 777 yankee-gnome-fire-consumer -R
cd yankee-gnome-fire-consumer
chmod +x *.bash
chmod +x *.sh
####
exec /bin/tini -- supervisord -n -c /etc/supervisor/supervisord.conf
touch /tmp/prince-trunks-has-returned-after