Removed backchannel socket

master
Brady McDonough 10 months ago
parent c213adb875
commit dd94a184b8

@ -17,4 +17,4 @@ up: deps .backend.lock
@nohup $(GUILE) ./main.scm > yacswa-backend.log & export PID=$$! & echo "Server spawned with PID $${PID}"; echo $${PID} > .backend.lock; unset PID
down:
@export PID=`cat .backend.lock`; kill -15 $${PID}; rm .backend.lock; rm bc; echo "Server on PID $${PID} down."; unset PID
@export PID=`cat .backend.lock`; kill -15 $${PID}; rm .backend.lock; echo "Server on PID $${PID} down."; unset PID

@ -8,9 +8,10 @@
;; :
;; Backchannel
#!
(define repl-sock (make-unix-domain-server-socket #:path "./bc"))
(spawn-server repl-sock)
!#
;; endpoint helpers
(define (err: text) (scm->json-string `((error . ,text))))

Loading…
Cancel
Save