Re: Inactive service of hello world #yocto
Nicolas Jeker
On Tue, 2021-09-07 at 10:43 -0700, Rudolf J Streif wrote:
What does your 'Hello World' service do? Just print 'Hello World' toTo piggyback on that, it is possible to set Type=oneshot[1] for the service so that systemd considers the service to be up after it exited. I find it useful for init or migration scripts that another service can then depend upon. [1]: https://www.freedesktop.org/software/systemd/man/systemd.service.html#Type= :rjs |
|