-
Type: Improvement
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 5.6.0-HF30, 5.8.0-HF07, 5.9.2
-
Component/s: Nuxeo Drive
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.
- is required by
-
NXP-13678 Drive: pass commandline options to OS X launch agent program arguments
- Resolved