Thanks! Gilles,

Works as expected, my issue was related to users, I developed and shared
Envs with my user, but later ran as ROOT, for that reason the Envs were not
in that space.

But with your command was a lot of easy understand that just with one line,
that helped me to understand my mistake.

Thanks
Alejandro

El lun, 14 feb 2022 a las 7:01, Gilles Pietri (<contact+...@gilouweb.com>)
escribió:

> Le 13/02/2022 à 23:37, Alejandro Ferrari a écrit :
> > Hi!
> >
> > I'm trying to move from 1.4.X to 2, and I can't see how to capture
> > Environment Variables into version 2?
> >
> > # Streaming
> > icecast_host = getenv("ICECAST_HOST")
> > icecast_port = getenv("ICECAST_PORT")
> > icecast_pwd = getenv("ICECAST_PWD")
> > icecast_desc = getenv("PUBLIC_DESCRIPTION")
>
> Hi,
>
> getenv() still exists and works in 2.x, do you get an error ?
>
> $ liquidsoap 'print(getenv("USER"))'
> gilou
> No output defined, nothing to do.
>
> Cheers,
>
> Gilles
>
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to