/
Starting OpenESB as a service with systemd

Starting OpenESB as a service with systemd

The following is a sample for OpenESB service with systemd. We assume that

  • The service is called openesb

  • The path to OpenESB is /opt/openesb-3.1.2/OE-Instance

  • The path to the JDK is /etc/alternatives/jre

Please modify all the above as appropriate. First let’s create the service by typing the following command

sudo nano /etc/systemd/system/openesb.service

The content of the file should be as follow

[Unit] Description=OpenESB Standalone Service After=network.target httpd.service [Service] Type=simple User=openesb LimitNOFILE=65536 Environment=JAVA_HOME=/etc/alternatives/jre ExecStart=/opt/openesb-3.1.2/OE-Instance/bin/openesb.sh ExecStop=/opt/openesb-3.1.2/OE-Instance/bin/openesb.sh stop [Install] WantedBy=multi-user.target

To start OpenESB type the following

sudo systemctl start openesb

Once you assert it is working type you can stop it if needs be by typing the followinf

To enable it after it after reboot

 

Related content

Standalone mode or OpenESB SE
Standalone mode or OpenESB SE
More like this
Developer Guide
Developer Guide
More like this
Building OpenESB Components
Building OpenESB Components
More like this
Rest API
Rest API
More like this
Becoming a committer
Becoming a committer
More like this
BPELSE - XSLT 2 Support
BPELSE - XSLT 2 Support
More like this