luad

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 9569ba3cfa0614ffd9921de81144604e5f343ccb
parent 79313f1d5565009a608160e0aa830fa12be97c73
Author: Daniel Barlow <dan@telent.net>
Date:   Mon, 18 May 2026 23:21:13 +0100

update README

Diffstat:
MREADME.md | 14+++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/README.md b/README.md @@ -17,6 +17,15 @@ Liminix, but it may be useful elsewhere too. * accept unix datagram socket commands * fork a child for each peer socket and run the requested lua script +## how to use it + + $ LUAD_SOCKET_PATH=/var/run/luad/socket luad prelude.lua + + $ LUAD_SOCKET_PATH=/var/run/luad/socket luac script.lua arg1 arg2 ... + +The pathname of a Lua script may optionally be passed to luad. It will +be loaded into the interpreter before it is forked, so whatever it +does will be available in the children. ## small print @@ -25,8 +34,3 @@ Liminix, but it may be useful elsewhere too. * tested only on Linux. Needs SCM_RIGHTS to send unix file descriptors across processes, which seems to be have [implementation quirks on different unix flavours](https://gist.github.com/kentonv/bc7592af98c68ba2738f4436920868dc) - - -## TO DO - -[.] implement luac