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,4 +1,4 @@
FROM softwareshinobi/valorant-digital-desktop:pristine AS desktopBase
FROM softwareshinobi/shinobi-academy-desktop AS desktopBase
##
@@ -40,6 +40,10 @@ COPY ping.script /tmp/ping.bash
RUN chmod +x /tmp/ping.bash
COPY ping2.script /tmp/ping2.bash
RUN chmod +x /tmp/ping2.bash
RUN ls -lha /tmp/
####

View File

@@ -22,9 +22,9 @@ services:
volumes:
- /tmp/volumes/yankee/desktop:/home/shinobi
- /tmp/v2olumes/yankee/desktop:/root
hostname: yankeedownload
hostname: rootsitaution
domainname: desktop.yankee.embaNET.online
@@ -44,7 +44,7 @@ services:
USER_GID: 1000
USER: yankee
USER: root
PASSWORD: yankee

View File

@@ -1,3 +1,7 @@
* * * * * root /tmp/ping.bash >> /var/log/cron.log 2>&1
* * * * * /tmp/ping.bash >> /var/log/cron.log 2>&1
* * * * * python3 /yankee-gnome-fire-consumer/consumer.py >> /var/log/yankee-downloader.log 2>&1
* * * * * /tmp/ping2.bash >> /var/log/cron.log 2>&1

3
ping2.script Normal file
View File

@@ -0,0 +1,3 @@
touch /tmp/`date +%Y_%m_%d_%H_%M_%S`.22222dat
ls -lha /tmp/*dat

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

0
touch Normal file
View File