From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Sun, 26 Sep 2010 17:41:24 -0400 To: 9fans@9fans.net Message-ID: <076604d7e2a8417033c7a50f4e7638c2@plug.quanstro.net> In-Reply-To: <20100926212108.GA20262@chiron.galaxy> References: <20100926212108.GA20262@chiron.galaxy> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] playing with namespaces Topicbox-Message-UUID: 5b10d54e-ead6-11e9-9d60-3106f5b1d025 > - I copied /rc/bin/service.auth to /cfg//slash and enabled > tcp567 and then added a bind -b of that directory to the original > /rc/bin/service.auth. the traditional way of doing this is to create directories service.$function and/or service.$function.auth and use them as arguments to listen. the exact arguments to listen should depend on $sysname (whaever your cpurc setup). that way, you don't have stuff that's mucking with the namespace depending to much on construction of the namespace. for example, i start this on the public interface of my auth server (i knew the fancy new way to do this is with /cfg/$sysname/cpurc, but you get the point): ... switch($sysname){ ... case ladd: ... aux/listen -q -t /rc/bin/service.auth -d /rc/bin/service.ext /net.alt/tcp ... ; cd /rc/bin; lc service.ext !tcp17007 tcp17010 tcp25 tcp17009 tcp17013 ; lc service.auth !il566 tcp22 tcp566 tcp567 tcp993 tcp995 - erik