Hi,

Read section "A few twists" from
http://wiki.openindiana.org/oi/Creating+new+services

Cheers,
Andreas

2012/5/10 Matt Connolly <[email protected]>:
> Hi,
>
> I'm trying to set up openldap on oi151a4. I've set up the config files
> and can run it from the command line, but it took a bit of stuffing
> around to get its SMF service to run. Even with the correct config,
> the service starts and then fails, presumably because the start method
> didn't return within the allowed 30 seconds time frame.
>
> I changed the startup script by putting a '&' at the end of the `exec
> $SLAPD` line so that the server ran in the background from the start
> script, and now it seems to be working.
>
> Is that the best way to do it?? I thought I remember reading somewhere
> that you could configure a SMF service to run a service as a long
> running program without requiring it to daemonize/fork. Couldn't find
> it though.
>
>
> -Matt
>
> _______________________________________________
> OpenIndiana-discuss mailing list
> [email protected]
> http://openindiana.org/mailman/listinfo/openindiana-discuss

_______________________________________________
OpenIndiana-discuss mailing list
[email protected]
http://openindiana.org/mailman/listinfo/openindiana-discuss

Reply via email to