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

Shashi View All

A passionate devops and automation engineer

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: