Liquidsoap already has an init.d, so no need there for a new one? Monit will
happily start and stop it, but not without a pidfile?
What I'm looking for is the code to put in my monitrc - and how to solve the
pidfile problem - which looking at the Airtime source code it does
programmatically so I can't just 'use' that? It's written in Python I think,
and it's custom scripts. I'm looking for something like:
check process X with pidfile var/run/X.pid
start program = "/etc/init.d/X start" with timeout 60 seconds
stop program = "/etc/init.d/X stop"
Also - kind of getting annoyed that every time I ask a Liquidsoap question, the
response is 'Here's an Airtime solution' - I thought this was a Savonet
*Liquidsoap* list, not an *Airtime* list? There is a perfectly good Airtime
support forum, and when I Google I have to wade through all the
Airtime-related queries for a solution - can we have ONE which is for those for
aren't, please?
Yes I'm sure a few answers are common, but mostly not if you are going for a
pure Liquidsoap solution as I am and others do, I'm not going to install
Airtime or hack it's (IMO buggy) Python code to solve problems with Liquidsoap,
thus taking away the many weeks of uptime, my auto DJ and auto-playlist
scripting and stability advantages I already have? I migrated away from Airtime
for several very good reasons - many of which you can see in the bug tracker &
support forums!
On 6 Jan 2014, at 09:11,Daniel James wrote:
>
> Hi adiblol, hi Tim,
>
>> AFAIR Airtime uses Monit for running Liquidsoap.
>
> That's correct, via the script /etc/init.d/airtime-liquidsoap which you
> can see here:
>
> https://github.com/sourcefabric/Airtime/blob/master/python_apps/pypo/airtime-liquidsoap-init-d
>
> You can read about how we use monit at
> http://sourcefabric.booktype.pro/airtime-25-for-broadcasters/using-monit/
>
> Cheers!
>
> Daniel
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users