Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id B96F3200B50 for ; Sat, 13 Aug 2016 17:59:24 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id B7F68160AA6; Sat, 13 Aug 2016 15:59:24 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3146B160A73 for ; Sat, 13 Aug 2016 17:59:24 +0200 (CEST) Received: (qmail 51638 invoked by uid 500); 13 Aug 2016 15:59:23 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 51627 invoked by uid 99); 13 Aug 2016 15:59:23 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Aug 2016 15:59:23 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id A13EC2C0003 for ; Sat, 13 Aug 2016 15:59:22 +0000 (UTC) Date: Sat, 13 Aug 2016 15:59:20 +0000 (UTC) From: "Sebb (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Reopened] (DAEMON-352) PATCH REQUEST: parameterize child proc restart behavior MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 13 Aug 2016 15:59:24 -0000 [ https://issues.apache.org/jira/browse/DAEMON-352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sebb reopened DAEMON-352: ------------------------- > 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)