code: 9ferno

ref: 7168ddd6205de69c6d3658f80b8e55f51ddf7954
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
}