summaryrefslogtreecommitdiff
path: root/launchd
AgeCommit message (Collapse)Author
2011-10-19launchd: Add an option (--with-launchagent-xserver) to set the default X11 ↵Jeremy Huddleston
server This allows the LaunchAgent and startx to have different default servers which will be useful as the Xorg DDX becomes available on darwin. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-07-31darwin: Buildfix for Tiger which doesn't have posix_spawnJeremy Huddleston
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-05-14launchd: Fix an array-index-out-of-bounds crasherJeremy Huddleston
Found-by: GuardMalloc Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-05-12launchd: Update console redirection to work with libdispatchJeremy Huddleston
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-05-12launchd Set the correct id for privileged_startxJeremy Huddleston
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-05-11launchd: syslog: Use facility org.x rather than userJeremy Huddleston
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-05-11launchd: include config.hJeremy Huddleston
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-05-11Rename launchd-id-prefix to bundle-id-prefixJeremy Huddleston
It's used many other places than just for launchd. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-04-27launchd: Silence clang static analyzerJeremy Huddleston
../console_redirect.c:67:5: warning: Value stored to 'n' is never read n = kevent(kq, ev, 2, NULL, 0, NULL); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-04-27privileged_startx: Prefer /usr/bin/mktempJeremy Huddleston
This will avoid accidentally tripping over an incompatible, user-provided GNU flavor mktemp. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-04-26launchd: Brownbag fix string compareJeremy Huddleston
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-04-26launchd: console_redirect: Actually read and log the remaining data when we ↵Jeremy Huddleston
get EV_EOF Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-04-26launchd: Remove dead EXTRA_DISTJeremy Huddleston
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-04-26launchd: Fix make distJeremy Huddleston
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-04-26launchd: Enable stdout/stderr redirection to ASLJeremy Huddleston
Don't rely on launchd to do our logging for us. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> Reviewed-by: Daniel A. Steffen <dsteffen@apple.com>
2011-04-25launchd: Log messages to ASL rather than fprintfJeremy Huddleston
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-04-25launchd: Reorganized layout of launchd sourcesJeremy Huddleston
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2007-12-16OS-X: Added argv[0] hack for finding Xquartz UI and icon as well as claiming ↵Jeremy Huddleston
its dock icon Partially removes need for x11-exec on OS-X. We still need to handle options set in defaults.
2007-12-15Changed x11-exec to actually start X11.app. X11.app will be responsible for ↵Jeremy Huddleston
calling xinit.
2007-12-15Added Apple launchd supportJeremy Huddleston