<div dir="ltr">It looks like those are bash scripts so try something like<div><br></div><div>be sure your mail binary path is correct it may be somewhere else other then /bin</div><div>echo "/bin/mail -s connecting <a href="mailto:someone@somewhere.com">someone@somewhere.com</a>" > /home/icecast/bin/source-start</div>
<div><br></div><div>chmod 775 /home/icecast/bin/source-start</div><div><br></div><div>you may have a chown permissions issue too if the user that runs icecast can't see the /home/icecast/bin/source-start</div><div><br>
</div><div>do the same for the source-end script</div><div><br></div><div>-winn</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 24, 2013 at 9:39 AM, Phil - w2lie <span dir="ltr"><<a href="mailto:w2lie@w2lie.net" target="_blank">w2lie@w2lie.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div>
<p>That would be possible if you call out a script in the connect or disconnect actions.</p>
<p> </p>
<p>I'm told that Icecast pushes the mount point as a variable, but I was unable to find any documentation. Does Icecast push the mount point to the on-connect and on-disconnect scripts as a variable?</p>
<p>From the online docs:</p>
<pre> <mount>
<on-connect>/home/icecast/bin/source-start</on-connect>
<on-disconnect>/home/icecast/bin/source-end</on-disconnect>
</mount></pre>
<p> </p>
<div>
<pre>---<br>Phil / w2lie
<a href="http://www.w2lie.net" target="_blank">http://www.w2lie.net</a></pre>
</div><div class="im">
<p>On 2013-07-24 12:33, Miguel s wrote:</p>
</div><blockquote type="cite" style="padding-left:5px;border-left:#1010ff 2px solid;margin-left:5px;width:100%"><div class="im">
<div dir="ltr">anyone knows if is possible to create an email alert to notify me when a mount point is connecting and disconnecting?</div>
<br>
</div><div class="im"><pre>_______________________________________________
Icecast mailing list
<a href="mailto:Icecast@xiph.org" target="_blank">Icecast@xiph.org</a>
<a href="http://lists.xiph.org/mailman/listinfo/icecast" target="_blank">http://lists.xiph.org/mailman/listinfo/icecast</a>
</pre>
</div></blockquote>
</div>
<br>_______________________________________________<br>
Icecast mailing list<br>
<a href="mailto:Icecast@xiph.org">Icecast@xiph.org</a><br>
<a href="http://lists.xiph.org/mailman/listinfo/icecast" target="_blank">http://lists.xiph.org/mailman/listinfo/icecast</a><br>
<br></blockquote></div><br></div>