shithub: purgatorio

ref: 00c219c7d9c2b9f60c2db0e1ba7289b2301209a7
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
}