summaryrefslogtreecommitdiffstats
path: root/src/ccapi
diff options
context:
space:
mode:
authorAlexandra Ellwood <lxs@mit.edu>2008-06-25 19:14:07 +0000
committerAlexandra Ellwood <lxs@mit.edu>2008-06-25 19:14:07 +0000
commitdbd0da9c3619b5a5f3b1396761e9ff8473ff4f5a (patch)
tree170026b7ddf60562db6d28437f8b8f826aa5c6b0 /src/ccapi
parent1f5762519ddec10d5a76cf9522325a62fa0502cc (diff)
downloadkrb5-dbd0da9c3619b5a5f3b1396761e9ff8473ff4f5a.tar.gz
krb5-dbd0da9c3619b5a5f3b1396761e9ff8473ff4f5a.tar.xz
krb5-dbd0da9c3619b5a5f3b1396761e9ff8473ff4f5a.zip
Add new launchd flags to CCacheServer plist file
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
Diffstat (limited to 'src/ccapi')
-rw-r--r--src/ccapi/server/mac/edu.mit.Kerberos.CCacheServer.plist9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ccapi/server/mac/edu.mit.Kerberos.CCacheServer.plist b/src/ccapi/server/mac/edu.mit.Kerberos.CCacheServer.plist
index 42e7f27208..3301d44d37 100644
--- a/src/ccapi/server/mac/edu.mit.Kerberos.CCacheServer.plist
+++ b/src/ccapi/server/mac/edu.mit.Kerberos.CCacheServer.plist
@@ -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>
@@ -13,5 +15,12 @@
</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>