Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-alt
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-alt@g.o
From: Benda Xu <heroxbd@...>
Subject: OpenRC on Prefix for service daemons
Date: Sat, 12 May 2012 21:18:22 +0900
Dear All,<br><div class="gmail_quote">
<br>
Have you ever wanted to start a daemon from prefix in a gentoo way but<br>
noticed portage saying<br>
,----<br>
| * removed /etc/init.d and /etc/conf.d directories until bug #196294 has been resolved<br>
`----<br>
to you? It has been disappointing for to me to manually start daemons<br>
repeatedly.<br>
<br>
A solution introducing OpenRC[1] is around the corner waiting for your<br>
trial and review:<br>
<br>
      <a href="https://wiki.gentoo.org/wiki/OpenRC/Prefix" target="_blank">https://wiki.gentoo.org/wiki/OpenRC/Prefix</a><br>
<br>
As you can see from the contents,<br>
<br>
    1 USING heroxbd&#39;s openrc-prefix overlay<br>
        1.1 install baselayout-prefix and portage from the overlay<br>
    2 GETTING openrc-9999 emerged on prefix<br>
        2.1 glibc and sysvinit<br>
        2.2 OpenRC config<br>
    3 EXAMPLE: tinc<br>
        3.1 prefixify init script<br>
        3.2 fire up tincd from OpenRC<br>
    4 EXAMPLE: nginx<br>
        4.1 prefixify init script<br>
        4.2 prefixify nginx.conf<br>
        4.3 normal privilege<br>
        4.4 add nginx to default runlevel and fire up<br>
    5 Further Reading<br>
<br>
following the tutorial will give you a working tinc and/or nginx managed<br>
by OpenRC, and of course a common base to start any daemon from Prefix<br>
in the unified Gentoo way with power of OpenRC.<br>
<br>
Enjoy ;) Don&#39;t forget to email or bug me for feedback.<br>
<br>
Cheers!<br>
Benda<br>
<br>
1. <a href="http://www.gentoo.org/proj/en/base/openrc/" target="_blank">http://www.gentoo.org/proj/en/base/openrc/</a><br>
</div>
Replies:
Re: OpenRC on Prefix for service daemons
-- Alan Hourihane
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
media-gfx/xfig
Next by thread:
Re: OpenRC on Prefix for service daemons
Previous by date:
Re: media-gfx/xfig
Next by date:
Re: OpenRC on Prefix for service daemons


Updated Jun 18, 2012

Summary: Archive of the gentoo-alt mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.