Add new launchd flags to CCacheServer plist file
authorAlexandra Ellwood <lxs@mit.edu>
Wed, 25 Jun 2008 19:14:07 +0000 (19:14 +0000)
committerAlexandra Ellwood <lxs@mit.edu>
Wed, 25 Jun 2008 19:14:07 +0000 (19:14 +0000)
Added LimitLoadToSessionType "Background" to launch the
CCacheServer once per user rather than only for GUI
sessions.

Added ThrottleInterval key to allow the CCacheServer to
relaunch frequently.

Set CFFIXED_USER_HOME environment variable to prevent the
CCacheServer from accessing the user's home directory.

ticket: new

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20471 dc483132-0cff-0310-8789-dd5450dbe970

src/ccapi/server/mac/edu.mit.Kerberos.CCacheServer.plist

index 42e7f27208e3b9bbad5575da63aa849db3eff951..3301d44d37f8c282c97ddde84721185011b7822d 100644 (file)
@@ -4,6 +4,8 @@
 <dict>
         <key>Label</key>
         <string>edu.mit.Kerberos.CCacheServer</string>
+        <key>LimitLoadToSessionType</key>
+        <string>Background</string>
         <key>Program</key>
         <string>/System/Library/CoreServices/CCacheServer.app/Contents/MacOS/CCacheServer</string>
         <key>MachServices</key>
         </dict>
         <key>OnDemand</key>
         <true/>
+       <key>ThrottleInterval</key>
+       <integer>0</integer>
+        <key>EnvironmentVariables</key>
+        <dict>
+        <key>CFFIXED_USER_HOME</key>
+                <string>/var/empty</string>
+        </dict>
 </dict>
 </plist>