From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4e8fc2f9c4ec6cb5947ce89b2834f31c@quanstro.net> To: 9fans@cse.psu.edu Subject: Re: [9fans] CPU Server From: erik quanstrom Date: Thu, 16 Aug 2007 09:29:15 -0400 In-Reply-To: <8fae17cd534e3a5bddef97750e5bdcab@plan9.jp> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: a9a2e3c2-ead2-11e9-9d60-3106f5b1d025 > Hello, > > I have a question regarding cpurc. I managed to set up a combined cpu/auth > server by loosely following the wiki instructions. > > If I understand correctly, the lines > > if(! test -e /rc/bin/service.auth/il566){ > mv /rc/bin/service.auth/authsrv.il566 /rc/bin/service.auth/il566 > mv /rc/bin/service.auth/authsrv.tcp567 /rc/bin/service.auth/tcp567 > mv /rc/bin/service/il566 /rc/bin/service/_il566 > mv /rc/bin/service/tcp567 /rc/bin/service/_tcp567 > } > > make the auth server listen on the right ports. Is there a likely scenario > where these will be executed again after the first time the server boots, or > can I remove them? > > Please let me know if I'm missing something obvious. I'm quite new to Plan 9. > > Cheers > Rob you're supposed to do that once. this is what i have at home cpu% lc /rc/bin/service.auth !tcp110 il566 tcp22 tcp566 tcp567 tcp995 you may not want ssh. to keep ssh from starting cpu% mv tcp22 !tcp22 of course, i don't have il567 or tcp567 in /rc/bin/service. just rm them of they're there. to turn all these services on, you need to listen for them from cpurc. these are the last two lines of mine aux/listen -q -t /rc/bin/service.auth -d /rc/bin/service il aux/listen -q -t /rc/bin/service.auth -d /rc/bin/service tcp though if you don't use ken's fileserver, you don't need the first line as you don't need il. - erik