tweak server to delete socket when stopping
Iris Lightshard nilix@nilfm.cc
PGP Signature
-----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEkFh6dA+k/6CXFXU4O3+8IhROY5gFAmFm/9EACgkQO3+8IhRO Y5iR+w/8Cry0xe9q3UD8gHlJHymiJ1rDSCVKWSYwvEOayibwbSi7bSxbknbGfRQZ /9VbYDx9R15kFzfmE6rBpKgvuUe7YdWuVOIY/fYRGM/65tsryx/4u1fx8hensnAq soUlfOf3tvicwrEzqPI2En5xnLih7YIxqijRoBCiyV4+d3g7nv8sti2b3u43BuCA iDb12yUg9+/42X/jLcEp2eYz30koXIHxWTKNN8bsIyiuC6vixQwDKRFY+OSZRBaq ksJWdE3AArHXk4WaTKEY71k4VgTonnIWWu1UzrnZOVeoMot4+hj9KUOdTwIJzKvb 1OT9eXRm8XjBs6Fp8Z0aMSaeUvbJ+ss/lqkddRdaIoHKUJaF2IoNbWhXQ6Q+/6ZZ cHAakuSn93W59tcAe+7BHnh0hEVcv9Vu9vpazELgVYmcXbOBB4yoj/XuGu9QeU+v 6hwcel0/DQV2uVi/S9vC+254btIyM9QC9XT3f4u2N2xtsvCoA08q5Ery0cXxJtoH s6Cga4fRQje97a4I48swMGWCAUjr13EGSQsLUgfbvOO7B+XssfaqE/PTNOwgWsGx mcvkVbBRQcy0eolYo4dOaFmq8Lyb/Q4UIM9SrJj5dNfU/cN8HLlKogTBKWdnQc5n VXj69lEPUV9t/XDc8slBQEOUas9F/pyiq+quLSM36BYQHSZEA0E= =nEN+ -----END PGP SIGNATURE-----
1 files changed,
2 insertions(+),
1 deletions(-)
jump to
M
server/xrxs-srv.sh
→
server/xrxs-srv.sh
@@ -5,10 +5,11 @@
case $1 in start) ./xrxs -s xrxs & sleep 1 - 9pserve -c unix!/tmp/ns.$(whoami).\:0/xrxs tcp!0.0.0.0!${PORT} & + 9pserve -c unix!/tmp/ns.$(whoami).${DISPLAY}/xrxs tcp!0.0.0.0!${PORT} & ;; stop) killall xrxs + rm /tmp/ns.$(whoami).${DISPLAY}/xrxs ;; *) echo "$0 start|stop"