GitHub user dhx opened a pull request:
https://github.com/apache/karaf/pull/204
karaf-service should return 0 on start when service is already running
tools like puppet have problems with a service not returning 0 on start
when it is already running.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/dhx/karaf master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/karaf/pull/204.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #204
----
commit 0d4b5ea87e50e5d36c76de05e0f67f803d20c795
Author: dhx <[email protected]>
Date: 2016-06-27T12:07:11Z
karaf-service should return 0 on start when service is already running
from:
http://refspecs.linuxbase.org/LSB_3.1.1/LSB-Core-generic/LSB-Core-generic/iniscrptact.html
... In addition to straightforward success, the following situations are
also to be considered successful:
...
- running start on a service already running
...
commit e5801ee53607267673a4a7c883d071fe8e982c47
Author: dhx <[email protected]>
Date: 2016-06-27T12:08:07Z
Merge pull request #1 from dhx/dhx-patch-1
karaf-service should return 0 on start when service is already running
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---