From 1956d7dce0d18a73aa54c5534e79ea9ba7d763f1 Mon Sep 17 00:00:00 2001 From: onefang Date: Wed, 4 Aug 2021 15:15:42 +1000 Subject: Attempt to send spamn-fcgi command to the right place. Still needs work. --- src/sledjchisl/sledjchisl.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c index a16efbf..02b5d0c 100644 --- a/src/sledjchisl/sledjchisl.c +++ b/src/sledjchisl/sledjchisl.c @@ -8227,14 +8227,11 @@ fcgiDone: { // Start up the web stuff. TODO - remove this once we handle the fcgi stuff ourselves. I("Starting the web stuff."); - char *d = xmprintf("%s.{bottom}", Ttab); - char *c = xmprintf( - "spawn-fcgi -n -u %s -s %s/sledjchisl.socket -M 0660 -G www-data -- " + char *c = xmprintf("spawn-fcgi -n -u %s -s %s/sledjchisl.socket -M 0660 -G www-data -- " "/usr/bin/valgrind --leak-check=full sledjchisl", scUser, scCache, scRoot); - sendTmuxCmd(d, c); + sendTmuxCmd(Ttab, c); free(c); - free(d); } else I("NOT Starting the web stuff."); -- cgit v1.1