Niklas Jonsson wrote: > I got a dependency on multi-user in my service already. > > Clarification - A dependency on multi-user ensures multi-user is online before your services starts. The suggestions were that you add a dependent entity for multi-user-server so that multi-user-server doesn't start until your service is online.
> This is how it works: > > The method script (start script) checks if there is a file present in > /var/tmp, if that file exists it will execute a perl script that will do some > minor tasks during startup, but the problem is that the service seems to be > marked as online before this second perl script is done, and therefore it > goes on to multi-user-server. > > If your service is indeed online without the suggested dependent entity, then your start method is probably returning before the perl script completes. A couple of things come to mind. Is the perl script running in the background? Is the service declared transient? What's startd/duration set to? -tony