Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5032

C/C++ • Re: systemd/race condition in private app

$
0
0
Hi bls

Many thanks for responding and for the excellent advice.

Changing the systemd script to read:

[Unit]
Description=Kitchen timer server
After=default.target multi-user.target
...

and removing the 10 second delay from the timer code worked. I noticed that the PID for the app after the change moved from the low 30s to the 800s so the start up is occurring much later in the boot sequence with that 'After'.

Thanks gain.

Statistics: Posted by Smudged — Wed Feb 28, 2024 2:58 pm



Viewing all articles
Browse latest Browse all 5032

Trending Articles