FireFly Media Server › Firefly Media Server Forums › Firefly Media Server › General Discussion › MAC OS X & b3: run at system boot › Reply To: MAC OS X & b3: run at system boot
@doppler wrote:
Ron,
thanks for the reply.
I ended up adding a .plist into the /Library/LaunchDaemons directory with this content:
Label
FireflyService
OnDemand
UserName
root
Program
/bin/sh
ProgramArguments
/bin/sh
/startup_script.sh
RunAtLoad
Where the startup_script.sh is temporarily placed at the root level. The script does nothin more than calling the code you pasted above (calling the firefly app with the config file).
This has the effect of starting up 2 firefly processes when the system boots. My local iTunes can see the server just fine, but the soundbridge reports “Incompatible Music Server found”, and I _can’t_ browse to the server over the web interface (hardcoded port 9999): http://localhost:9999 returns 404
So, a partial success, and maybe you know how to fix these things?
thanks a lot!
Sounds like it’s not loading the plugins right — like it isn’t getting the rsp.so.
Check that config and make sure that in the [plugin] section, it lists rsp.so as one of the plugins= items. You could always hardcode the path to the plugin_dir, in that config file as well. that might do it.
— Ron