Skip to content

Run JBoss as Mac OSX service

Use the following code to add jboss to the system process, make sure to change program string, standardOutPath, and UserName.

Step – 1: Create the following script

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
<plist version="1.0">

Step -2 : Change the permissions

chmod 644 jboss.plist

Step – 3: Change the ownership

chown root:wheel jboss.plist

Step – 4: Launch the daemon

launchctl load jboss.plist

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.