I really feel like spamming the bug tracker....
In the startup file at line 426 in the function util_process_exist
openplotter don't detect the signalk process if it been started with the -c argument.
Causing it to start a new signalk process that complain to be unable to use the port cuz the other process is already listening on it.
This is what it's look when both process are running:
pi@lysmarine:~ $ ps aux | grep signalk
pi 7354 0.0 0.0 1900 392 ? Ss 14:15 0:00 /bin/sh /home/pi/.signalk/signalk-server
pi 7356 0.3 5.8 201476 55852 ? Sl 14:15 0:09 node /usr/lib/node_modules/signalk-server/bin/signalk-server -c /home/pi/.signalk
Then if i do the same check as openplotter do for the 2 process:
pi@lysmarine:~ $ cat /proc/7354/cmdline
/bin/sh/home/pi/.signalk/signalk-server
pi@lysmarine:~ $ cat /proc/7356/cmdline
node/usr/lib/node_modules/signalk-server/bin/signalk-server-c/home/pi/.signalk
I really feel like spamming the bug tracker....
In the
startupfile at line426in the functionutil_process_existopenplotter don't detect the signalk process if it been started with the
-cargument.Causing it to start a new signalk process that complain to be unable to use the port cuz the other process is already listening on it.
This is what it's look when both process are running:
Then if i do the same check as openplotter do for the 2 process: