[yocto] Running systemd service including boot time

JH jupiter.hce at gmail.com
Wed Nov 6 12:14:41 PST 2019


Hi,

I built Yocto image to include a systemd service and it's timer, the
timer calls the service repeated every 30 minutes, it runs well, but I
need it also run it first time in the boot, not wait 30 minutes. I
tried to add OnBootSec=2, it does not run in boot, any tips how can I
force it run immediately in boot?

OnBootSec=2
OnActiveSec=30min

Thank you.

Kind regards,

- jh


More information about the yocto mailing list