From 761f3d746015a79136bec82aec7e6b5937ed4306 Mon Sep 17 00:00:00 2001 From: Daniel Sosnowski Date: Mon, 2 Feb 2026 10:43:45 +0100 Subject: [PATCH] Initial version of scripts --- mail.sh | 7 +++++++ shops.sh | 15 +++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 mail.sh create mode 100644 shops.sh diff --git a/mail.sh b/mail.sh new file mode 100644 index 0000000..fb0b9c9 --- /dev/null +++ b/mail.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +sudo docker compose logs --tail 50 | grep watchdog | grep -E 'health|replication' + +echo "===============================================================================" + +docker stats --no-stream \ No newline at end of file diff --git a/shops.sh b/shops.sh new file mode 100644 index 0000000..241dba7 --- /dev/null +++ b/shops.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +systemctl restart nginx apache2 sw-cp-server sw-engine psa + +echo "=====================================================================================" + +df -h + +echo "=====================================================================================" + +free -h + +echo "=====================================================================================" + +uptime \ No newline at end of file