Update install.sh
This commit is contained in:
parent
8af5698976
commit
a2f61a8c1e
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ apt-get -y install ssmtp
|
|||
sed -i -e 's/=mail/=mail.neshweb.net:587/' /etc/ssmtp/ssmtp.conf # replace 'mail' mailhub with actual mailserver
|
||||
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
|
||||
echo "useSTARTTLS=YES\nAuthUser=$USER@$DOMAIN\nAuthPass=$PASS" >> /etc/ssmpt/ssmtp.conf
|
||||
echo "useSTARTTLS=YES\nAuthUser=$USER@$DOMAIN\nAuthPass=$PASS" >> /etc/ssmtp/ssmtp.conf
|
||||
echo "root:noreply@$ALIAS:mail.neshweb.net:587" >> /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
|
||||
chmod +x /root/disk-warn.sh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue