register [-v] [[-a attr val] …] addr
-v will increase log verbosity level.
If registry mounted from remote server it's recommended to use retrymount(1) to make sure registry will automatically reappear in /mnt/registry after any connection issues or restarting registry service.
addr=tcp!localhost!rstyx
listen -i {register -a proto rstyx $addr&} $addr {auxi/rstyxd&}
Dynamic port and watchdog:
listen -v -i {
load std
port := ${hd ${tl ${split ! `{cat $net/local} } } }
attrs := ( -a proto rstyx -a auth infpk1 )
watchdog register -v $attrs tcp!localhost!$port
} tcp!localhost!0 {auxi/rstyxd&}
| REGISTER(1 ) | Rev: Tue Mar 31 02:34:39 GMT 2015 |