chore(deps): updated readme

This commit is contained in:
Matthew McKinnon 2024-06-21 21:51:57 +10:00
parent bcb0f6990c
commit 1e731f3fd2

View File

@ -8,7 +8,6 @@ To send emails the sendEmail package is required
apt-get install sendemail apt-get install sendemail
</pre> </pre>
Change the following lines in scripts that send emails Change the following lines in scripts that send emails
MAILFROM is set to determine the server name and domain name for the server and generate and email for it to determine where the email is coming from. This can be changed to specify an email address or you can leave it to generate one. MAILFROM is set to determine the server name and domain name for the server and generate and email for it to determine where the email is coming from. This can be changed to specify an email address or you can leave it to generate one.
@ -35,14 +34,6 @@ This script checks for updates on your Debian based systems. If any updates are
<pre>ln -s $(pwd)/check_updates_deb /etc/cron.daily <pre>ln -s $(pwd)/check_updates_deb /etc/cron.daily
</pre> </pre>
#### check_updates_rpm
This script checks for updates on your RPM based systems. If any updates are found it will download them ready for Installation and an email will be sent to an email address specified
<b>Installation</b>
<pre>ln -s $(pwd)/check_updates_rpm /etc/cron.daily
</pre>
#### dbbackup #### dbbackup
This scripts backs up mysql databases and rotates the number of backups through seven days. This scripts backs up mysql databases and rotates the number of backups through seven days.
@ -64,31 +55,4 @@ Sends and email when disk space reaches greater than 90%.
<b>Installation</b> <b>Installation</b>
<pre>ln -s ${pwd}/diskalert.sh /etc/cron.hourly <pre>ln -s ${pwd}/diskalert.sh /etc/cron.hourly
</pre> </pre>
#### nasbackup.sh
This script does an rsync from one folder location to another
<b>Installation</b>
<pre>
ln -s ${PWD}/nasbackup /etc/cron.daily
</pre>
#### mailQWatch
Script checks mailq size on a postfix system and sends an email when queue size is greater than threshold.
Update variables in scripts to suit your needs.
<pre>QUEUELIMIT=75
SUBJECT="Mail Queue on $HOST is currently $QUEUECOUNT"
MAILTO="user@example.com"
</pre>
<b>Installation</b>
As root, sudo will not work.
<pre>echo "*/5 * * * * ${PWD}/mailQWatch.sh" >> /etc/crontab
</pre>