Page 1 of 1

Running as a Service

Posted: 02 May 2007 16:36
by hellbound
Hi ,

It is definitely necessary to run VLC as a service for VOD or Stream servers to make sure stability of the service.

Thanks

Posted: 02 May 2007 19:25
by Jean-Baptiste Kempf
Is it a question ?

Then, no!

Posted: 02 May 2007 19:34
by hellbound
Is it a question ?

Then, no!
It was a request,
if you mean no? assuming that you mean service is not necessary,

how do you run your VLC after it crashed for any reason?

I have VLC running and each time it rains and lots of bad signal.
it will crash and I have to run it again. how to make sure it will
come back online automatically?

Posted: 02 May 2007 20:26
by Jean-Baptiste Kempf
Is it a question ?

Then, no!
It was a request,
if you mean no? assuming that you mean service is not necessary,

how do you run your VLC after it crashed for any reason?

I have VLC running and each time it rains and lots of bad signal.
it will crash and I have to run it again. how to make sure it will
come back online automatically?
I don't understand what do you exactly want ?

Posted: 03 May 2007 06:38
by hellbound
Basically in Linux/Unix or Windows, there are two thing running, one is Application such as VLC, Word , EXCEl and etc...

The others are the services such as : Samba , HTTPD, etc...

If you run an application under your OS it may crash and it need manual attendance to bring it back online.

But a service has handling situation for any type of crash to restart the service or even restart the computer or notify the admin.

Hope I could be clear.

Thanks

Posted: 03 May 2007 10:22
by Jean-Baptiste Kempf
Basically in Linux/Unix or Windows, there are two thing running, one is Application such as VLC, Word , EXCEl and etc...

The others are the services such as : Samba , HTTPD, etc...

If you run an application under your OS it may crash and it need manual attendance to bring it back online.

But a service has handling situation for any type of crash to restart the service or even restart the computer or notify the admin.

Hope I could be clear.

Thanks
So, on windows, you can run VLC as a NT service (search the wiki or here)
and on linux, you can run VLC as a daemon (-d)

Posted: 03 May 2007 17:15
by hellbound
Basically in Linux/Unix or Windows, there are two thing running, one is Application such as VLC, Word , EXCEl and etc...

The others are the services such as : Samba , HTTPD, etc...

If you run an application under your OS it may crash and it need manual attendance to bring it back online.

But a service has handling situation for any type of crash to restart the service or even restart the computer or notify the admin.

Hope I could be clear.

Thanks
So, on windows, you can run VLC as a NT service (search the wiki or here)
and on linux, you can run VLC as a daemon (-d)

Thank you very much for the clue,
I found something like this shell script

http://mvpmc.wikispaces.com/vlc

Which I believe has to be built in VLC,
running VLC as daemon alone wouldn't recover its crashes.

Thanks again.