summaryrefslogtreecommitdiff
path: root/launchd/privileged_startx/privileged_startx.plist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'launchd/privileged_startx/privileged_startx.plist.cpp')
-rw-r--r--launchd/privileged_startx/privileged_startx.plist.cpp28
1 files changed, 28 insertions, 0 deletions
diff --git a/launchd/privileged_startx/privileged_startx.plist.cpp b/launchd/privileged_startx/privileged_startx.plist.cpp
new file mode 100644
index 0000000..02e1cce
--- /dev/null
+++ b/launchd/privileged_startx/privileged_startx.plist.cpp
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>Label</key>
+ <string>LAUNCHD_ID_PREFIX.privileged_startx</string>
+ <key>ProgramArguments</key>
+ <array>
+ <string>XINITDIR/privileged_startx</string>
+ <string>-d</string>
+ <string>SCRIPTDIR</string>
+ </array>
+#ifdef TIGER_LAUNCHD
+ <key>KeepAlive</key>
+ <true/>
+#else
+ <key>MachServices</key>
+ <dict>
+ <key>LAUNCHD_ID_PREFIX.privileged_startx</key>
+ <true/>
+ </dict>
+ <key>TimeOut</key>
+ <integer>120</integer>
+ <key>EnableTransactions</key>
+ <true/>
+#endif
+</dict>
+</plist>