I've got a SystemD service file that starts a service, the problem is it
connects to another device that takes longer to boot up into a "ready"
state than the computer with the service.

I could just add a "ExecStartPre=/usr/bin/sleep 30" to the service file,
but will it delay for 30 seconds on restarts as well? I only want it to
wait on cold boots.

I may be better off creating a timer unit file and using OnBootSec but
didn't want to go with the complexity of a timer if I didn't have to.

Thanks,
Richard
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to