Could it be that the PID-file is written before the fork() rather than after it? Anyway, there can be only one fso-gpsd running, no PID-file needs to be created and a simple &quot;killall -q fso-gpsd&quot; is sufficient to terminate it.<br>
<br>