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 8CBA0200B6D for ; Tue, 23 Aug 2016 22:00:49 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 79B9E160ABF; Tue, 23 Aug 2016 20:00:29 +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 E597C160A81 for ; Tue, 23 Aug 2016 22:00:28 +0200 (CEST) Received: (qmail 53253 invoked by uid 500); 23 Aug 2016 20:00:23 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 53197 invoked by uid 99); 23 Aug 2016 20:00:23 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Aug 2016 20:00:23 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id D925E2C015A for ; Tue, 23 Aug 2016 20:00:22 +0000 (UTC) Date: Tue, 23 Aug 2016 20:00:22 +0000 (UTC) From: =?utf-8?Q?Jean-Baptiste_Onofr=C3=A9_=28JIRA=29?= To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KARAF-4260) Setting karaf.clean.all = true breaks service wrapper service script MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 23 Aug 2016 20:00:49 -0000 [ https://issues.apache.org/jira/browse/KARAF-4260?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1543= 3519#comment-15433519 ]=20 Jean-Baptiste Onofr=C3=A9 commented on KARAF-4260: --------------------------------------------- I just wonder where to locate the pid file then. Let me think a bit about t= hat. > Setting karaf.clean.all =3D true breaks service wrapper service script > -------------------------------------------------------------------- > > Key: KARAF-4260 > URL: https://issues.apache.org/jira/browse/KARAF-4260 > Project: Karaf > Issue Type: Bug > Components: karaf-config > Affects Versions: 4.0.3 > Reporter: Ralf Steppacher > Assignee: Jean-Baptiste Onofr=C3=A9 > Priority: Minor > Fix For: 4.1.0, 4.0.7 > > > The Karaf service wrapper script is generated such that the PID file is c= reated in {{$KARAF_HOME/data}}. When setting {{karaf.clean.all =3D true}} t= hen the PID file created by the service script gets deleted together with t= he data directory. As a result of this the service script reports Karaf as = not running and it is not possible to stop the process via the script. > The PID file location probably should be outside the data directory by de= fault. -- This message was sent by Atlassian JIRA (v6.3.4#6332)