From 58c6245e5ae339232f1d146b8b741a08752989ef Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Thu, 11 Apr 2024 23:29:25 +0200 Subject: Updated 5 files (automated) --- includes/.DS_Store | Bin 10244 -> 10244 bytes includes/lang/en.json | 2 +- includes/refresh-status.php | 16 +++++++++++----- version | 2 +- warrant | 32 ++++++++++++++++---------------- 5 files changed, 29 insertions(+), 23 deletions(-) diff --git a/includes/.DS_Store b/includes/.DS_Store index c6c6600..f4c26ed 100644 Binary files a/includes/.DS_Store and b/includes/.DS_Store differ diff --git a/includes/lang/en.json b/includes/lang/en.json index 6f3bfd4..9128a2e 100644 --- a/includes/lang/en.json +++ b/includes/lang/en.json @@ -414,4 +414,4 @@ ] } } -} \ No newline at end of file +} diff --git a/includes/refresh-status.php b/includes/refresh-status.php index 16dcdaf..fa6a0a7 100644 --- a/includes/refresh-status.php +++ b/includes/refresh-status.php @@ -4,12 +4,16 @@ if (!isset($_SERVER['argv'])) die("This script can only be run in a CLI environm // Status +echo("Fetching servers\n"); + $servers = [ - json_decode(exec("ssh -p 2253 root@nat4.equestria.dev starshine-status"), true), - json_decode(exec("ssh -p 2252 root@nat4.equestria.dev starshine-status"), true), - json_decode(exec("ssh -p 22 root@51.68.173.117 starshine-status"), true), + json_decode(exec("ssh root@dabssi starshine-status"), true), + json_decode(exec("ssh root@hudgens starshine-status"), true), + json_decode(exec("ssh root@watson starshine-status"), true), ]; +echo("Processing statistics\n"); + $total = [ "ram" => array_reduce(array_map(function ($i) { return $i["ram"]; @@ -74,16 +78,18 @@ $total = [ }, $servers))) ]; -var_dump($total); +echo("Fetching status\n"); $statusArray = []; exec("curl https://status.equestria.dev/status.json", $statusArray); $status = json_decode(implode("\n", $statusArray), true); -var_dump($status); +echo("Saving\n"); file_put_contents("./data/status.json", json_encode([ "services" => $status, "servers" => $total, "updated" => time() ])); + +echo("Done!\n"); diff --git a/version b/version index 3837381..5a21446 100644 --- a/version +++ b/version @@ -1 +1 @@ -13.1.2 +13.1.3 diff --git a/warrant b/warrant index 3b0a55c..76801b2 100644 --- a/warrant +++ b/warrant @@ -15,32 +15,32 @@ Special note should be taken if these messages ever cease being updated, or are -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 -2024-03-31 +2024-04-07 No warrants have ever been served to Equestria.dev, or Equestria.dev principals or members. No searches or seizures of any kind have ever been performed on any Equestria.dev assets. ( from https://www.reuters.com ) -Erdogan's rival leads in Istanbul in high-stakes Turkey vote -Israel central bank says ultra-Orthodox need to join military to help economy -Israel's Netanyahu will undergo hernia surgery on Sunday, his office says +Israel reduces troops in south Gaza, Egypt to host new talks +Trump: it would be 'great honor' to go to jail for violating gag order +UAE property tycoon withdraws from sanctions-hit Belarus, collaborates with Kushner -Sunday, March 31 2024 +Sunday, April 7 2024 -----BEGIN PGP SIGNATURE----- -iQGzBAEBCAAdFiEErqdz2wYgxXz/sHqR773GhDWldLcFAmYJs3IACgkQ773GhDWl -dLf5IwwAmViFM7tMP4wpjgNH7UvN442Lmmq4l/A20eADC63qjM00bECdP+V/5HGa -sEjRzIhPsh7ieI0rgGVYSJb+68i6CJECAW5kPGK4VxkrEjt3pQvEZl+EtOH2fLKg -AJbf/n7+DaSbsH0OpvWjVO6Kmv9mhk5o5/jQ8beOVOaxIqnBTSHiwjBDLV4jov5+ -aH7bKbHDAOgVtltB5JJYqZUyCRI8cUBoPsRZo79HPiDrk2u1yp4XtAMpeovzdTfE -/nvtwwcfnwQMiD4kB+RPY0DSDZK085icZG/Epd0gZ/b/ya/kK3Bu+EnyRGMFjQRc -n3evhJcqZklGF30ciF8/hXqvt1iiIOabs+XvzIb8hf8BUSmxla6q1P+bnzT0RjKR -ocVQN3jE6fiegS3MiLaHxzp8FZtAty4GelmXlVF0NbIpd/9+DRLvQu01DwyKK/4Y -9SlGKhkU4fxWLbUU2xgG9A8+nzrhXpjzjpHV+U+hvGdDunmLRW526t+MZfOt9rGG -LSfteA6w -=ciOj +iQGzBAEBCAAdFiEErqdz2wYgxXz/sH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