Petals ESB Container

Add a script 'initd' to automatically start/stop Petals

Details

  • Type: New Feature New Feature
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 4.1.0
  • Fix Version/s: 4.2.0
  • Component/s: Administration
  • Security Level: Public
  • Description:
    • The attached PDF guides you through writing the script and how to set up the automatic start.
    • The script helps you to start, stop and restart PetalsESB easily and properly.
  • Environment:
    petals-esb.sh --version gives :
        - Petals ESB Server 4.1.0
        - Java(TM) SE Runtime Environment 1.6.0_31-b04
        - Linux 3.0.0-17-generic
  1. How to automatically launch PetalsESB at startup.pdf
    (35 kB)
    Thierry Heirman
    Thu, 26 Jul 2012 - 11:09:51 +0200
  2. petals
    (2 kB)
    Thierry Heirman
    Thu, 26 Jul 2012 - 11:09:51 +0200

Issue Links

Activity

Hide
Thierry Heirman added a comment - Thu, 26 Jul 2012 - 11:13:15 +0200

In the script, you have to change :

  • the path to your bin directory in PETALS_BIN
  • the user who run petals after the '-u' option in both command start and stop
Show
Thierry Heirman added a comment - Thu, 26 Jul 2012 - 11:13:15 +0200 In the script, you have to change :
  • the path to your bin directory in PETALS_BIN
  • the user who run petals after the '-u' option in both command start and stop
Hide
Christophe DENEUX added a comment - Thu, 26 Jul 2012 - 11:39:45 +0200

Great job Thierry. Thanks for the contribution.

I will put your contribution forward to our product manager to be integrated in the next release.

I think that we will put your script (with some changes) in $PETALS_HOME/bin, so you can just add a symbolic link to the script into your directory /etc/init.d. Next to start/stop Petals automatically, just add symbolic link to the link of /etc/init.d into your directory /etc/rcX.d.

Show
Christophe DENEUX added a comment - Thu, 26 Jul 2012 - 11:39:45 +0200 Great job Thierry. Thanks for the contribution. I will put your contribution forward to our product manager to be integrated in the next release. I think that we will put your script (with some changes) in $PETALS_HOME/bin, so you can just add a symbolic link to the script into your directory /etc/init.d. Next to start/stop Petals automatically, just add symbolic link to the link of /etc/init.d into your directory /etc/rcX.d.
Hide
Christophe DENEUX added a comment - Mon, 10 Jun 2013 - 17:21:08 +0200

A script to automatically start/stop Petals has bee added. It is available through in the Debian package of Petals ESB.
This script is compliant with the Debian policies

Show
Christophe DENEUX added a comment - Mon, 10 Jun 2013 - 17:21:08 +0200 A script to automatically start/stop Petals has bee added. It is available through in the Debian package of Petals ESB. This script is compliant with the Debian policies

People

Dates

  • Created:
    Thu, 26 Jul 2012 - 11:09:12 +0200
    Updated:
    Mon, 10 Jun 2013 - 17:22:25 +0200
    Resolved:
    Mon, 10 Jun 2013 - 17:21:08 +0200