shithub: purgatorio

ref: 54bac038f411c10a596adf84c06df32f8c7c4c53
dir: /lib/sh/srv/

View raw version
# shell functions for starting inferno services
load std

fn srv {
	if {! ftest -f /net/cs} {
		srv.cs
	}
	srv.styx
}

fn srv.cs {
	ndb/dns -r
	ndb/cs
}

fn srv.styx {
	listen tcp!*!styx {export /&}
}

fn srv.auth {
	listen -A tcp!*!inflogin auth/logind
	listen -A tcp!*!infsigner auth/signer
	# listen -A tcp!*!infcsigner auth/countersigner
}