From 34e2485b9a8411e47730e428bb1ecc4520e4dcd4 Mon Sep 17 00:00:00 2001 From: DO Server Backup Date: Tue, 9 Jun 2026 03:53:55 +0000 Subject: [PATCH] =?UTF-8?q?[orbis]=20Weekly=20backup=202026-06-09=20?= =?UTF-8?q?=E2=80=94=20=2052=20files=20changed,=202700=20insertions(+)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cron/root_custom | 5 + cron/root_full | 32 ++ infra/README.md | 48 ++ infra/agent/config.template.json | 8 + infra/cron/do-server.crontab | 26 + infra/fusionpbx/README.md | 75 +++ infra/fusionpbx/fail2ban/jail.local | 10 + infra/fusionpbx/nginx_yealink_rewrite.txt | 9 + .../provision/yealink/t48s/y000000000000.boot | 7 + .../provision/yealink/t48s/{$mac}.boot | 7 + infra/systemd/do-agent.service | 19 + infra/systemd/droplet-agent.service | 19 + infra/systemd/fastapi_ssh_server.service | 14 + infra/systemd/jarvis-agent.service | 14 + mysql/databases.txt | 0 mysql/my.cnf | 4 + network/50-cloud-init.yaml | 35 ++ network/hostname | 1 + network/hosts | 15 + .../epictravelexpeditions.com/vhost.conf | 95 ++++ ols-vhosts/httpd_vhosts_summary.txt | 90 ++++ ols-vhosts/jarvis.orbishosting.com/vhost.conf | 95 ++++ .../mail.epictravelexpeditions.com/vhost.conf | 91 ++++ .../mail.jarvis.orbishosting.com/vhost.conf | 91 ++++ ols-vhosts/mail.orbishosting.com/vhost.conf | 91 ++++ .../vhost.conf | 91 ++++ ols-vhosts/mail.tomsjavajive.com/vhost.conf | 91 ++++ ols-vhosts/mail.tomtomgames.com/vhost.conf | 91 ++++ ols-vhosts/orbis.orbishosting.com/vhost.conf | 91 ++++ ols-vhosts/orbishosting.com/vhost.conf | 91 ++++ .../parkerslingshotrentals.com/vhost.conf | 91 ++++ ols-vhosts/site-list.txt | 9 + ols-vhosts/tomsjavajive.com/vhost.conf | 91 ++++ ols-vhosts/tomtomgames.com/vhost.conf | 91 ++++ scripts/do-server-backup | 17 + scripts/jarvis-agent.py | 477 ++++++++++++++++++ scripts/jarvis-backup.sh | 97 ++++ scripts/jarvis-deploy.sh | 84 +++ scripts/jarvis-watchdog.sh | 118 +++++ scripts/ttg-backup.sh | 35 ++ smtp-docs/README.md | 15 + smtp-docs/epictravelexpeditions.com.md | 25 + smtp-docs/jarvis.orbishosting.com.md | 4 + smtp-docs/orbishosting.com.md | 21 + ...rkerslingshot.epictravelexpeditions.com.md | 21 + smtp-docs/parkerslingshotrentals.com.md | 21 + smtp-docs/tomsjavajive.com.md | 49 ++ smtp-docs/tomtomgames.com.md | 35 ++ ssh/authorized_keys | 4 + systemd/fastapi_ssh_server.service | 14 + systemd/jarvis-agent.service | 14 + wireguard/wg0.conf | 11 + 52 files changed, 2700 insertions(+) create mode 100644 cron/root_custom create mode 100644 cron/root_full create mode 100644 infra/README.md create mode 100644 infra/agent/config.template.json create mode 100644 infra/cron/do-server.crontab create mode 100644 infra/fusionpbx/README.md create mode 100644 infra/fusionpbx/fail2ban/jail.local create mode 100644 infra/fusionpbx/nginx_yealink_rewrite.txt create mode 100644 infra/fusionpbx/provision/yealink/t48s/y000000000000.boot create mode 100644 infra/fusionpbx/provision/yealink/t48s/{$mac}.boot create mode 100644 infra/systemd/do-agent.service create mode 100644 infra/systemd/droplet-agent.service create mode 100644 infra/systemd/fastapi_ssh_server.service create mode 100644 infra/systemd/jarvis-agent.service create mode 100644 mysql/databases.txt create mode 100644 mysql/my.cnf create mode 100644 network/50-cloud-init.yaml create mode 100644 network/hostname create mode 100644 network/hosts create mode 100755 ols-vhosts/epictravelexpeditions.com/vhost.conf create mode 100644 ols-vhosts/httpd_vhosts_summary.txt create mode 100755 ols-vhosts/jarvis.orbishosting.com/vhost.conf create mode 100755 ols-vhosts/mail.epictravelexpeditions.com/vhost.conf create mode 100755 ols-vhosts/mail.jarvis.orbishosting.com/vhost.conf create mode 100755 ols-vhosts/mail.orbishosting.com/vhost.conf create mode 100755 ols-vhosts/mail.parkerslingshotrentals.com/vhost.conf create mode 100755 ols-vhosts/mail.tomsjavajive.com/vhost.conf create mode 100755 ols-vhosts/mail.tomtomgames.com/vhost.conf create mode 100755 ols-vhosts/orbis.orbishosting.com/vhost.conf create mode 100755 ols-vhosts/orbishosting.com/vhost.conf create mode 100755 ols-vhosts/parkerslingshotrentals.com/vhost.conf create mode 100644 ols-vhosts/site-list.txt create mode 100755 ols-vhosts/tomsjavajive.com/vhost.conf create mode 100755 ols-vhosts/tomtomgames.com/vhost.conf create mode 100755 scripts/do-server-backup create mode 100755 scripts/jarvis-agent.py create mode 100755 scripts/jarvis-backup.sh create mode 100755 scripts/jarvis-deploy.sh create mode 100755 scripts/jarvis-watchdog.sh create mode 100755 scripts/ttg-backup.sh create mode 100644 smtp-docs/README.md create mode 100644 smtp-docs/epictravelexpeditions.com.md create mode 100644 smtp-docs/jarvis.orbishosting.com.md create mode 100644 smtp-docs/orbishosting.com.md create mode 100644 smtp-docs/parkerslingshot.epictravelexpeditions.com.md create mode 100644 smtp-docs/parkerslingshotrentals.com.md create mode 100644 smtp-docs/tomsjavajive.com.md create mode 100644 smtp-docs/tomtomgames.com.md create mode 100644 ssh/authorized_keys create mode 100644 systemd/fastapi_ssh_server.service create mode 100644 systemd/jarvis-agent.service create mode 100644 wireguard/wg0.conf diff --git a/cron/root_custom b/cron/root_custom new file mode 100644 index 0000000..c8228ba --- /dev/null +++ b/cron/root_custom @@ -0,0 +1,5 @@ +* * * * * /usr/local/bin/jarvis-deploy.sh +*/5 * * * * /usr/local/bin/jarvis-watchdog.sh +0 2 * * * /usr/local/bin/jarvis-backup.sh >> /var/backups/jarvis/backup.log 2>&1 +0 2 * * * su -s /bin/bash tomto8868 -c '/usr/local/bin/ttg-backup.sh' >> /home/tomtomgames.com/backups/backup.log 2>&1 +0 4 * * 0 /usr/local/bin/do-server-backup >> /var/log/do-server-backup.log 2>&1 diff --git a/cron/root_full b/cron/root_full new file mode 100644 index 0000000..64d4abf --- /dev/null +++ b/cron/root_full @@ -0,0 +1,32 @@ + +0 * * * * /usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/findBWUsage.py >/dev/null 2>&1 +0 * * * * /usr/local/CyberCP/bin/python /usr/local/CyberCP/postfixSenderPolicy/client.py hourlyCleanup >/dev/null 2>&1 +0 0 1 * * /usr/local/CyberCP/bin/python /usr/local/CyberCP/postfixSenderPolicy/client.py monthlyCleanup >/dev/null 2>&1 +0 2 * * * /usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/upgradeCritical.py >/dev/null 2>&1 +0 0 * * 4 /usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/renew.py >/dev/null 2>&1 +7 0 * * * "/root/.acme.sh"/acme.sh --cron --home "/root/.acme.sh" > /dev/null +0 0 * * * /usr/local/CyberCP/bin/python /usr/local/CyberCP/IncBackups/IncScheduler.py Daily +0 0 * * 0 /usr/local/CyberCP/bin/python /usr/local/CyberCP/IncBackups/IncScheduler.py Weekly + +*/30 * * * * /usr/local/CyberCP/bin/python /usr/local/CyberCP/IncBackups/IncScheduler.py '30 Minutes' +0 * * * * /usr/local/CyberCP/bin/python /usr/local/CyberCP/IncBackups/IncScheduler.py '1 Hour' +0 */6 * * * /usr/local/CyberCP/bin/python /usr/local/CyberCP/IncBackups/IncScheduler.py '6 Hours' +0 */12 * * * /usr/local/CyberCP/bin/python /usr/local/CyberCP/IncBackups/IncScheduler.py '12 Hours' +0 1 * * * /usr/local/CyberCP/bin/python /usr/local/CyberCP/IncBackups/IncScheduler.py '1 Day' +0 0 */3 * * /usr/local/CyberCP/bin/python /usr/local/CyberCP/IncBackups/IncScheduler.py '3 Days' +0 0 * * 0 /usr/local/CyberCP/bin/python /usr/local/CyberCP/IncBackups/IncScheduler.py '1 Week' + +*/3 * * * * if ! find /home/*/public_html/ -maxdepth 2 -type f -newer /usr/local/lsws/cgid -name '.htaccess' -exec false {} +; then systemctl restart lsws; fi +09,39 * * * * /usr/local/CyberCP/bin/cleansessions >/dev/null 2>&1 + +* * * * * /usr/local/CyberCP/bin/python /usr/local/CyberCP/manage.py run_scheduled_scans >/usr/local/lscp/logs/scheduled_scans.log 2>&1 + +*/5 * * * * /usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/pdnsHealthCheck.py >/dev/null 2>&1 +*/3 * * * * /usr/local/lsws/lsphp85/bin/lsphp /home/jarvis.orbishosting.com/api/endpoints/facts_collector.php >> /home/jarvis.orbishosting.com/logs/cron.log 2>&1 +*/5 * * * * /usr/local/lsws/lsphp85/bin/lsphp /home/jarvis.orbishosting.com/api/endpoints/stats_cache.php >> /home/jarvis.orbishosting.com/logs/cron.log 2>&1 +* * * * * /usr/local/bin/jarvis-deploy.sh +*/5 * * * * /usr/local/bin/jarvis-watchdog.sh +0 2 * * * /usr/local/bin/jarvis-backup.sh >> /var/backups/jarvis/backup.log 2>&1 +*/15 * * * * /usr/local/lsws/lsphp85/bin/lsphp /home/jarvis.orbishosting.com/api/endpoints/calendar_sync.php >> /home/jarvis.orbishosting.com/logs/cron.log 2>&1 +0 2 * * * su -s /bin/bash tomto8868 -c '/usr/local/bin/ttg-backup.sh' >> /home/tomtomgames.com/backups/backup.log 2>&1 +0 4 * * 0 /usr/local/bin/do-server-backup >> /var/log/do-server-backup.log 2>&1 diff --git a/infra/README.md b/infra/README.md new file mode 100644 index 0000000..1f57d27 --- /dev/null +++ b/infra/README.md @@ -0,0 +1,48 @@ +# DO Server Infrastructure + +DigitalOcean server at 165.22.1.228 (CyberPanel / OpenLiteSpeed). + +## Directory Structure +- `cron/` — Root crontab (CyberPanel + JARVIS entries) +- `systemd/` — Custom systemd service units +- `agent/` — JARVIS agent config template + +## Deploy workflow +1. Edit code in site repos (myronblair/*) +2. `git push origin main` +3. On server: `cd /home//public_html && git pull origin main` + +## JARVIS agent install +```bash +cp agent/config.json /opt/jarvis-agent/config.json +systemctl enable jarvis-agent +systemctl start jarvis-agent +``` + +## Cloudflare Rocket Loader — IMPORTANT + +JARVIS (and all sites) sit behind Cloudflare with **Rocket Loader enabled**. +Rocket Loader does two things that break JavaScript login forms: + +1. Changes `