plist not launching at boot w/ launchd

Discussion in 'macOS' started by MyEyez, Oct 20, 2011.

  1. MyEyez macrumors newbie

    Oct 20, 2011
    Hello All, Im new to OSX and am trying to get a few programs to automatically start at boot. Yes, I know how to get them to start at login but I want them to start at BOOT! Im attempting this with plist files and launchd.

    I have my plsit files in /Library/LaunchDaemons

    The name of plist in this example is

    The contents look like this:

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "">
    <plist version="1.0">
    Now it works great if I open terminal and issue the following command:

    launchctl load /Library/LaunchDaemons/
    But, if I log out it quits working and if I reboot it doesn't auto start. What am I doing wrong here?

    After I manually kick it off I can issue the "launchctl list" command and see it in the list.

  2. Intell macrumors P6


    Jan 24, 2010
    You can't load GUI programs without being logged in. Its a security limitation of Mac OS X.
  3. MyEyez thread starter macrumors newbie

    Oct 20, 2011

Share This Page