/Library/LaunchDaemons/com.atlassian.jira.plist :

<?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.atlassian.jira</string>
 <key>ProgramArguments</key>
 <array>
 <string>......./atlassianjira6312/bin/start-jira.sh</string>
 <string>-fg</string>
 </array>
 <key>RunAtLoad</key>
 <true/>
 </dict>
</plist>
sudo chown root:wheel /Library/LaunchDaemons/com.atlassian.jira.plist
sudo chmod 644 /Library/LaunchDaemons/com.atlassian.jira.plist
sudo launchctl load -w /Library/LaunchDaemons/com.atlassian.jira.plist
Advertisements