You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Mori Bellamy (JIRA)" <ji...@apache.org> on 2016/08/09 21:54:20 UTC
[jira] [Created] (DAEMON-352) PATCH REQUEST: parameterize child
proc restart behavior
Mori Bellamy created DAEMON-352:
-----------------------------------
Summary: 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)