Re: How to convert a standar apps, to a Service

2011-04-30 Thread Winnie Lacesso
On Wed, 27 Apr 2011 Alec T. Habig wrote snip - much good advice logging (have it log status information, ideally with customizeable log levels, to the appropriate place), What about the logrotate part to correctly rotate logs so they don't grow infinitely NB I notice SL5 by default

Re: How to convert a standar apps, to a Service.

2011-04-28 Thread William Scott
On 28 April 2011 07:27, Florian Philipp li...@binarywings.net wrote: There is also libdaemon which is meant to facilitate converting your program into a proper daemon (not tried it, though).  BTW: It is a shame that SL does not contain the start-stop-daemon like Gentoo or Ubuntu

Re: How to convert a standar apps, to a Service.

2011-04-28 Thread Pablo Cavero
2011/4/28 William Scott will...@magicwilly.info On 28 April 2011 07:27, Florian Philipp li...@binarywings.net wrote: There is also libdaemon which is meant to facilitate converting your program into a proper daemon (not tried it, though). BTW: It is a shame that SL does not contain the

How to convert a standar apps, to a Service.

2011-04-27 Thread Pablo Cavero
Hello, I have an apps, and I want to convert this to a service. I have the source in C, and the binary executable. Think for example, in the ultra vnc repeater. http://sourceforge.net/projects/ultravnc/files/Repeater/win32%20and%20unix%20Repeaters/ The Only that I need is a set of bash script,

Re: How to convert a standar apps, to a Service.

2011-04-27 Thread Alec T. Habig
Pablo Cavero writes: The Only that I need is a set of bash script, like script used by the tomcat, for example, or need a special binary executable?? http://www.laliluna.de/articles/tomcat-startup-script-linux.html I want to may will use chkconfig, like an standar service. The chkconfig

Re: How to convert a standar apps, to a Service.

2011-04-27 Thread Florian Philipp
Am 27.04.2011 22:54, schrieb Alec T. Habig: Pablo Cavero writes: The Only that I need is a set of bash script, like script used by the tomcat, for example, or need a special binary executable?? http://www.laliluna.de/articles/tomcat-startup-script-linux.html I want to may will use chkconfig,

Re: How to convert a standar apps, to a Service - WORKING!!

2011-04-27 Thread Pablo Cavero
Thanks a lot, for everyone. The Ultra VNC Repeater, release 17 include the scripts and sources to make the compiling, and the installing. But, the problem is that in Scientific Linux, have not the start-stop-deamon apps. Downloanding and compiling this, and adding the start-stop-deamon binary