Displaying 3 results from an estimated 3 matches for "nphil".
Did you mean:
phil
2013 Aug 01
4
Alert Email
...address.tld email at address.tld"
else email="email at address.tld"
fi
# Set the Connect and Disconnect Messages
echo -e "Hello,\nThis is an automatic notification from W2LIE.net.\nThe
${1} Live Scanner Feed has connected to the server on ${date} at
${time}hrs.\n\nThank you,\nPhil / w2lie" >
/home/<user>/icecast/scripts/${1}_connect.txt
# send an email using /bin/mail
/bin/mail -s "${SUBJECT}" ${email} <
/home/<user>/icecast/scripts/${1}_connect.txt
#EOF
2013 Aug 01
0
Alert Email
...t;
>
> else email="email at address.tld"
> fi
>
> # Set the Connect and Disconnect Messages
> echo -e "Hello,\nThis is an automatic notification from W2LIE.net.\nThe
> ${1} Live Scanner Feed has connected to the server on ${date} at
> ${time}hrs.\n\nThank you,\nPhil / w2lie" >
> /home/<user>/icecast/scripts/${1}_connect.txt
>
> # send an email using /bin/mail
> /bin/mail -s "${SUBJECT}" ${email} <
> /home/<user>/icecast/scripts/${1}_connect.txt
>
> #EOF
>
>
> _______________________________________...
2013 Jul 24
2
Alert Email
It looks like those are bash scripts so try something like
be sure your mail binary path is correct it may be somewhere else other
then /bin
echo "/bin/mail -s connecting someone at somewhere.com" >
/home/icecast/bin/source-start
chmod 775 /home/icecast/bin/source-start
you may have a chown permissions issue too if the user that runs icecast
can't see the