Initial version of scripts
This commit is contained in:
7
mail.sh
Normal file
7
mail.sh
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
sudo docker compose logs --tail 50 | grep watchdog | grep -E 'health|replication'
|
||||||
|
|
||||||
|
echo "==============================================================================="
|
||||||
|
|
||||||
|
docker stats --no-stream
|
||||||
15
shops.sh
Normal file
15
shops.sh
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
systemctl restart nginx apache2 sw-cp-server sw-engine psa
|
||||||
|
|
||||||
|
echo "====================================================================================="
|
||||||
|
|
||||||
|
df -h
|
||||||
|
|
||||||
|
echo "====================================================================================="
|
||||||
|
|
||||||
|
free -h
|
||||||
|
|
||||||
|
echo "====================================================================================="
|
||||||
|
|
||||||
|
uptime
|
||||||
Reference in New Issue
Block a user