mirror of https://github.com/cutefishos/appmotor
[mapplauncherd] Fix race when in writing the daemon PID file and exiting. Contributes to JB#41671
The process forks twice when daemonizing, we need to wait for the first fork to exit after it has written the PID of the second fork before exiting the original process otherwise systemd may try and read the file before it exists.pull/1/head
parent
78d0dc16f1
commit
d57148540f
Loading…
Reference in New Issue