[Icecast] script on connect

Thomas B. Ruecker dm8tbr at afthd.tu-darmstadt.de
Wed Jan 21 15:56:52 UTC 2009


Hi,
> If you see , I call the bash script /etc/icecast2/bin/touch_connect
>
> That is simply this
>
> #!/bin/bash
> touch /var/www/touch.touch
>
> The script has 777 chmod permission and the directory /var/www/ have
> permission to 777 -R .
>   
are you sure the PATH environment is correctly populated? you might want 
to call the command by its absolute path.
> How I can use this function or the function " on-disconnect " , that
> doenst'work , too.
>   
see above

> My icecast it's the 2.3.1 on my ybuntu 8.0.4 box.
>   

If you want to use this in production you might want to get hold of 2.3.2

Cheers

Thomas



More information about the Icecast mailing list