Update install.sh
This commit is contained in:
parent
2feb186579
commit
d20b9f5f47
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ sed -i -e 's/=mail$/=mail.neshweb.net:587/' /etc/ssmtp/ssmtp.conf # replace 'mai
|
|||
sed -i -e 's/hostname=.*/hostname='"$DOMAIN"'/' /etc/ssmtp/ssmtp.conf # replace hostname with actual domain
|
||||
sed -i -e 's/#FromLine/FromLine/' /etc/ssmtp/ssmtp.conf
|
||||
printf "useSTARTTLS=YES\nAuthUser=$USER@$DOMAIN\nAuthPass=$PASS\n" >> /etc/ssmtp/ssmtp.conf
|
||||
printf "root:noreply@$USER:mail.neshweb.net:587\n" >> /etc/ssmtp/revaliases # alias 'root' sender to actual noreply sender to be used
|
||||
printf "root:noreply@$DOMAIN:mail.neshweb.net:587\n" >> /etc/ssmtp/revaliases # alias 'root' sender to actual noreply sender to be used
|
||||
wget "https://forgejo.neshweb.net/Neshura/disk-warn-script/raw/branch/main/disk-warn.sh" -P /root -O disk-warn.sh
|
||||
chmod +x /root/disk-warn.sh
|
||||
(crontab -l 2>/dev/null; echo "0 1 * * * /root/disk-warn.sh") | crontab -
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue