Dear Andre,

On Thu, Dec 2, 2010 at 12:23 PM,  <[email protected]> wrote:
> Yes, I can fire up liquidsoap (/usr/local/etc/rc.d/liquidsoap start) via
> crontab as user 'rcr'. Also, it works via cli as user 'liquidsoap' [...]
...
> Now I get the same error as one of my earliest 'init' startup problems:
> it now throws an error on the hash mark in
> '#!/usr/local/bin/liquidsoap' (liquidsoap.liq)

Okay, the user/group issues are understood. By the way, I think there
should be a way to run a cron task as root (and have a sudo in your rc
script, which is what we do in the stock init script) or as liquidsoap
directly. But I don't use cron too often so I can't offer much help
here. Regarding the syntax error near "/" in your #! line, I must say
that I'm clueless... the rc script that you posted the other is
totally unfamiliar to me, I don't know how it calls liquidsoap but it
must be doing something wrong. I swear liquidsoap accepts your file or
at least the #! line if you run it directly on it using "liquidsoap
script.liq"... (Or could it be that you have an empty include or a
file that ends with a comment? We had a bug on some weird situations
or the sort, it may still be open.)

So, I'm not of much help regarding cron and your rc script. But I can
try to make you avoid them: are you sure you want to use cron? Why do
you need to regularly restart liquidsoap? Most people start liquidsoap
by hand (through the rc script or not) once and for all, and it just
keeps running as long as needed.

> I am very concerned that liquidsoap may never work for me.

No need to be so dramatic, you'll make it ;) I think you're trying to
do everything at once, but you should go step by step. For now you can
run liquidsoap directly (without cron or rc) and that already gives
you a stream. Relax and listen to it, then solve the system issues.

Good luck,
-- 
David

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to