automated terminal push
This commit is contained in:
@@ -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
|
||||
|
||||
####
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user