> 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

Reply via email to