how to wrap properly a Red Hat / CentOS service into a daemontools service ?

Romain Pelisse <[email protected]> Tue, 4 Jan 2011 17:17:35 +0100
Newsgroups gmane.comp.djb.syslog
Message-ID <[email protected]>
--0022152d60254808a70499079b22
Content-Type: text/plain; charset=UTF-8

Hi,

It is more of a 'daemontools' question than a 'log' related question, I
therefore apologies if this is not the good place to ask this question - I
failed to a find a dedicated mailing list for daemontools.

I want to use daemontools to deploy alls my application including some
already packaged servers such as nginx. As those kind of services are
already packaged by the distribution (in my case, CentOS), I wonder which
approach should I use to deploy them as daemontools service. Should I just
ensure the service is stopped and wrote myself a custom script or should
somehow wrap the existing script (/etc/init.d/nginx) into a smaller run
script to daemontools will run ?

-- 
Romain PELISSE,
*"The trouble with having an open mind, of course, is that people will
insist on coming along and trying to put things in it" -- Terry Pratchett*
http://belaran.eu/wordpress/belaran

--0022152d60254808a70499079b22
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hi,<div><br></div><div>It is more of a &#39;daemontools&#39; question than =
a &#39;log&#39; related question, I therefore apologies if this is not the =
good place to ask this question - I failed to a find a dedicated mailing li=
st for daemontools.</div>
<div><br></div><div>I want to use daemontools to deploy alls my application=
 including some already packaged servers such as nginx. As those kind of se=
rvices are already packaged by the distribution (in my case, CentOS), I won=
der which approach should I use to deploy them as daemontools service. Shou=
ld I just ensure the service is stopped and wrote myself a custom script or=
 should somehow wrap the existing script (/etc/init.d/nginx) into a smaller=
 run script to daemontools will run ?=C2=A0</div>
<div><br>-- <br>Romain PELISSE,<br><i>&quot;The trouble with having an open=
 mind, of course, is that people will insist on coming along and trying to =
put things in it&quot; -- Terry Pratchett</i><br><a href=3D"http://belaran.=
eu/wordpress/belaran" target=3D"_blank">http://belaran.eu/wordpress/belaran=
</a><br>

</div>

--0022152d60254808a70499079b22--