stdout redirect still not working for backend

master^2
Brady McDonough 10 months ago
parent baf4eb1112
commit a614e9e453

@ -16,7 +16,7 @@ csv:
up: .backend.lock up: .backend.lock
.backend.lock: yacswa/yacswa.scm .backend.lock: yacswa/yacswa.scm
@${ENV} @GUILE@ yacswa/yacswa.scm &> server.log & PID=$$!; echo $${PID} > .backend.lock && echo "Server spawned with PID $${PID}" && echo "Allow for a couple minutes as data is fetched and initialized." @${ENV} @GUILE@ yacswa/yacswa.scm > server.log 2>&1 & PID=$$!; echo $${PID} > .backend.lock && echo "Server spawned with PID $${PID}" && echo "Allow for a couple minutes as data is fetched and initialized."
down: down:
@PID=`cat .backend.lock` && kill -15 $${PID} && rm .backend.lock && echo "Server on PID $${PID} down."; unset PID @PID=`cat .backend.lock` && kill -15 $${PID} && rm .backend.lock && echo "Server on PID $${PID} down."; unset PID

Loading…
Cancel
Save