diff options
author | EuAndreh <eu@euandre.org> | 2024-03-14 12:54:01 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2024-03-14 12:54:34 -0300 |
commit | 00801c24726fd44986a64dbe1af06830b2a14a7f (patch) | |
tree | 4a140da29436cebecb104287e252a28019278a85 | |
parent | src/web.mjs: Add trailing newline to body (diff) | |
download | papod-00801c24726fd44986a64dbe1af06830b2a14a7f.tar.gz papod-00801c24726fd44986a64dbe1af06830b2a14a7f.tar.xz |
Makefile: Add "run-binder" to expose lighttpd's unix socket to a TCP port
-rw-r--r-- | Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -141,9 +141,15 @@ run-web: all run-proxy: all lighttpd -Df tests/lighttpd.conf +run-binder: all + socat tcp-listen:1234,fork,reuseaddr unix:lighttpd.socket + ## Run the web and IRC server locally. run: all - $(MAKE) run-ircd & $(MAKE) run-web & $(MAKE) run-proxy & wait + for c in ircd web proxy binder; do \ + $(MAKE) run-$$c & \ + done; \ + wait ## Show this help. |