Thread:Project:Support desk/start wiki at boot up on os x lion

greetings,

MediaWiki	1.18.1

PHP	5.3.8 (apache2handler)

MySQL	5.5.16

i'm trying to get os x to start up the wiki at boot up.

i've created a .plist which works when its in ~/Library/LaunchAgents

but when i put this .plist under /Library/LaunchDaemons and reboot, i get lots of error messages in the system.log ...

Jan 31 12:06:41 sect org.me.startwiki[408]: 120131 12:06:41 mysqld_safe Logging to '/Applications/mediawiki-1.18.1-0/mysql/data/mysqld.log'.

Jan 31 12:06:41 sect com.apple.launchd[1] (0x7f97d5001830.anonymous.nohup[628]): Bug: launchd_core_logic.c:9375 (25247):0

Jan 31 12:06:41 sect com.apple.launchd[1] (0x7f97d5001830.anonymous.nohup[628]): Switching sessions is not allowed in the system Mach bootstrap.

which look like they're being caused when mysql starts.

if i time it right i can actually see the wiki main page briefly but then it shuts down.

any ideas?