[ 
https://issues.apache.org/jira/browse/KARAF-4666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15438785#comment-15438785
 ] 

Luca Burgazzoli commented on KARAF-4666:
----------------------------------------

+1 for compatibility.

I wanted to avoid having "shutdown" if possible just because it may be 
confusing as my main reason to have the pid file written by default if to 
improve integration with init systems and it may not the best to say:

{code}
To use the system init scripts, please activate the shutdown pid
{code}

I would say:
- 4.1.x -> rename karaf.shutdown.pid.file to karaf.pid.file + backward 
compatibility
- 4.0.x -> make karaf.shutdown.pid.file active by default

Make sense ?



> Have karaf write pid file by default
> ------------------------------------
>
>                 Key: KARAF-4666
>                 URL: https://issues.apache.org/jira/browse/KARAF-4666
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-core
>            Reporter: Luca Burgazzoli
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>
>  As today karaf would write the pid file only if karaf.shutdown.pid.file is 
> defined but it would be nice to have a pid file always written.
> So I will open a PR with:
> - karaf.shutdown.pid.file renamed to karaf.pid.file
> - set default value to ${karaf.base}/karaf.pid



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to