code: 9ferno

ref: 6bb619c8db2867ddd9cd19c0aec05065f5ee0cae
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
}