An edited excerpt from the console which started Leo
don't forget to launch leo-ver-serv!!!
==== @int history-tracer-port=8088 ====
Looking for 'leo-ver-serv' processes...
PID Name Status
3815 leo-ver-serv sleeping
========================================
This is just after Leo startup. The first thing I did was run the list services script. Sleeping is normal status for the server.
But let's pretend we don't know this and we attempt to start the service:
Running: leo-ver-serv /home/matt/.leo/.leoRecentFiles.txt 8088
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 98, kind: AddrInUse, message: "Address already in use" }', src/libcore/result.rs:1188:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
Uhoh. List the services again:
==== @int history-tracer-port=8088 ====
Looking for 'leo-ver-serv' processes...
PID Name Status
3815 leo-ver-serv sleeping
5335 leo-ver-serv zombie
========================================
So we still have our first real servivce, and a new zombie because of the crash above.
Let's try and shut them down gracefully, and then list again:
process psutil.Process(pid=5335, status='terminated') terminated with exit code 101
process psutil.Process(pid=3815, status='terminated') terminated with exit code None
==== @int history-tracer-port=8088 ====
Looking for 'leo-ver-serv' processes...
PID Name Status
========================================
The double bar immediately following 'Status' indicates no services found. In the next version we should have it say None and remove guesswork.