commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mori Bellamy (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DAEMON-352) PATCH REQUEST: parameterize child proc restart behavior
Date Wed, 10 Aug 2016 00:30:20 GMT

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

Mori Bellamy commented on DAEMON-352:
-------------------------------------

hmm...ignore this patch. It turns out i just didn't understand how the daemonization works
:<. 

> PATCH REQUEST: parameterize child proc restart behavior
> -------------------------------------------------------
>
>                 Key: DAEMON-352
>                 URL: https://issues.apache.org/jira/browse/DAEMON-352
>             Project: Commons Daemon
>          Issue Type: Improvement
>          Components: Jsvc
>    Affects Versions: 1.0.15
>            Reporter: Mori Bellamy
>         Attachments: DAEMON-RESARTS.patch
>
>
> Please find attached a patch for:
> 1) Adding an -alwaysrestart flag, which restarts the child process no matter the exit
code (currently we just do 123)
> 2) Add a -restartperiod flag. Right now 60s is hardcoded into the application logic to
prevent a tight crash loop. This flag pulls that 60s into a parameter.
> I hope you'll find it works and it adheres to the local style.



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

Mime
View raw message