First of all, how come this isn't installed by default now?
Also, could someone fix that typo already mentioned on the second chmod command (add a space)?
Finally, the above does not work with version 7 since the path to splunk has changed, so here is an updated version:
<?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>com.splunk.bootstart</string>
<key>ProgramArguments</key>
<array>
<string>/opt/splunkforwarder/bin/splunk</string>
<string>start</string>
</array>
<key>RunAtLoad</key>
<true />
<key>StandardErrorPath</key>
<string>/tmp/splunkboot.stderr</string>
<key>StandardOutPath</key>
<string>/tmp/splunkboot.stdout</string>
</dict>
</plist>
... View more