all repos — xrxs @ 22278761388d4882341f4a898b1da568a8818aa9

experimental networked application/game server with 9p

added a script to serve/deploy with 9pserve
Iris Lightshard nilix@nilfm.cc
PGP Signature
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEkFh6dA+k/6CXFXU4O3+8IhROY5gFAmEKI8oACgkQO3+8IhRO
Y5hHiw//aRm/Tcrz466ba+CdlRbOInfxDKq+S+pwTjDu39azCZfaSv35Yl57TgrL
ZCLNU0doXx34uy7jBWbGUKDKn0o+TvUK2yqpJ7SrA5Ly3gnpMmCVIkSvVD+Q8Msx
959I1nCc/iBdQkf2ljWYV2J4S/l4qvazOcw3GqfkcvGxzddE7Swl3WSsz4QarOEo
efOhtZLGJilalPcsdkgmvYixTsXWeNm7LpUmBteDpsp4Xspq1ldhvwXtPTi6oEK5
9Z+hlbWQad26CXcIY01FTp4gK4SNYG5ApcR+7aLnzxQBp8Ls+QmomKGSUl3HDuQY
1itMLH+LLl9GuI17XezpJqbw6yTW/JFXHNU4Mgjys8+igC8dWntMtIw3h6n4hCE5
8WKh6idNSvSzXRHpyvIwJccHlQCY40mhoQboGfZBR3i2RXQJe1E3JDQA5kKWybmU
NCdTerG7aCxtVLc3qyHr+dZuudf2pYu9rbV4SK7l6EkctJq/zCeGS6IT5nK/Ic32
6qHV+rLC9iWtoEHUhllkF96ufeRskaZ4yifNNaXH3osMU3qLli4DAGYLqPBLYq1z
XlpHT6faqd2GQptXyZ7dsBXCEPP/jE4F59WTSw9QjZdkoaHtub6Ts22CsKIO0WKl
66pam1bWAHQvoNxS3eKK5vtyIq+41luHaUVRhhu6VtMyEHqV/po=
=6Ts/
-----END PGP SIGNATURE-----
commit

22278761388d4882341f4a898b1da568a8818aa9

parent

4fab56e77f805cfecaf6be6deea189f365c0c4d6

1 files changed, 18 insertions(+), 0 deletions(-)

jump to
A xrxs-srv.sh

@@ -0,0 +1,18 @@

+#!/bin/sh + +PORT=5460 + +case $1 in + start) + ./xrxs -s xrxs & sleep 1 + 9pserve -c unix!/tmp/ns.$(whoami).\:0/xrxs tcp!0.0.0.0!${PORT} & + ;; + stop) + killall xrxs + ;; + *) + echo "$0 start|stop" + echo " start: run the xrxs service in the background" + echo " stop: terminates xrxs services" + ;; +esac