I am writing an application that uses a library that will not work when the application is run as a launchd daemon. There is a bug in the library where it will throw a bus error when used from a daemon. (See my stack overflow post: https://stackoverflow.com/questions/20599283/signal-10-sigbus-in-c-library-when-running-application-as-launchd-daemon)
Everything works fine however, when I run the application normally. I am wondering if there are any alternatives to launchd I should consider. The application needs to start on boot and run even when no users are logged in. It would also be preferable that the application is relaunched if it crashes, but I can live without that if I have to.
I've done some research on startup items, but since they are deprecated, I am wary that Apple will just remove the functionality some day.