launchctl shows an exit code of 0, which means success. On some blogger's advice, I also tried splitting it into two separate daemons, running "xampp startapache" and "xampp startmysql", but that didn't work either. Both had exit codes of zero. Once I'm logged into the system, I can do "xampp stop" followed by "xampp start", and then it works. What's wrong with this LaunchDaemon?
- Code: Select all
<?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>org.xampp.start</string>
<key>ProgramArguments</key>
<array>
<string>/Applications/XAMPP/xamppfiles/xampp</string>
<string>start</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>