3 ms·
hunchentoot_stop () { echo -n "Stopping Lisp Hunchentoot Server process..." echo "" # 6200 is the port to signal end of lisp process
by qjz 16y ago
hunchentoot_stop ()
{
echo -n "Stopping Lisp Hunchentoot Server process..."
echo ""
# 6200 is the port to signal end of lisp process
(telnet 127.0.0.1 6200 &) > /dev/null
(sleep 7)
}
Surely, there must be a better alternative for shutting down the process. Telnet? Really?
- Xurinos 16y agoAny number of triggers would work. :) You can always modify his code with an approach that is more to your liking.