Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-13677

Drive: don't reset OS X launch agent at each startup

    XMLWordPrintable

    Details

      Description

      Currently at startup Drive systematically creates the launch agent: ~/Library/LaunchAgents/org.nuxeo.drive.plist, overriding it if one already exists.

      This is a shame as any manual modification of this file will be lost when (re)starting Drive. Typically if arguments were added to the Nuxeo Drive program, as in the example below:

      <?xml version="1.0" encoding="UTF-8"adding?>
      <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
      <plist version="1.0">
      <dict>
        <key>Label</key>
        <string>org.nuxeo.drive.agentlauncher</string>
        <key>RunAtLoad</key>
        <true/>
        <key>Program</key>
        <string>/Applications/Nuxeo Drive.app/Contents/MacOS/Nuxeo Drive</string>
        <key>ProgramArguments</key>
        <array>
          <string>--max-sync-step=1000000</string>
          <string>--delay=60</string>
        </array>
      </dict>
      </plist>
      

      We should create the file only if it doesn't exist.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour
                  1h