Edgewall Software

Changes between Version 4 and Version 5 of TracOnOsxTracdAsLaunchdService


Ignore:
Timestamp:
Dec 10, 2011, 2:27:06 PM (8 years ago)
Author:
pejvan@…
Comment:

Added note about deprecated tags for launchd and added tip for plist validation

Legend:

Unmodified
Added
Removed
Modified
  • TracOnOsxTracdAsLaunchdService

    v4 v5  
    5959Save this launchd configuration to a file named "localhost.trac.plist".  Put it on the desktop for now.  You'll copy it to a more appropriate location in the next step.
    6060
     61Note:
     62{{{
     63OnDemand <boolean>
     64     This key was used in Mac OS X 10.4 to control whether a job was kept alive or not. The default was
     65     true.  This key has been deprecated and replaced in Mac OS X 10.5 and later with the more powerful
     66     KeepAlive option.
     67}}}
     68
     69So if you're running 10.5 and later, you should replace OnDemand by KeepAlive. Also notice that the meaning are opposite of each other: OnDemand True should be translated by KeepAlive False.
     70
     71Tip:
     72Once you're done with your changes, avoid wasting a lot of time due to ill formatted files, and validate your plist:
     73{{{
     74plutil -lint org.edgewall.trac.plist
     75}}}
     76
    6177=== 2. Install the plist file in a !LaunchAgents directory. ===
    6278