From issues-return-30429-apmail-commons-issues-archive=commons.apache.org@commons.apache.org Thu Nov 1 13:57:18 2012 Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0EB1DDFA7 for ; Thu, 1 Nov 2012 13:57:18 +0000 (UTC) Received: (qmail 62135 invoked by uid 500); 1 Nov 2012 13:57:17 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 61756 invoked by uid 500); 1 Nov 2012 13:57:16 -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 61206 invoked by uid 99); 1 Nov 2012 13:57:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Nov 2012 13:57:13 +0000 Date: Thu, 1 Nov 2012 13:57:13 +0000 (UTC) From: "David North (JIRA)" To: issues@commons.apache.org Message-ID: <1752092860.55962.1351778233585.JavaMail.jiratomcat@arcas> Subject: [jira] [Created] (DAEMON-264) Change current working directory to / when daemonising MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 David North created DAEMON-264: ---------------------------------- Summary: Change current working directory to / when daemonising Key: DAEMON-264 URL: https://issues.apache.org/jira/browse/DAEMON-264 Project: Commons Daemon Issue Type: Improvement Components: Jsvc Affects Versions: 1.0.10 Environment: Linux Reporter: David North Priority: Minor It's good practice for daemons to change their current working directory to / as this ensures they don't prevent file systems being mounted/unmounted by having a cwd wherever their controlling terminal was when it spawned them. It would be great if jsvc could chdir to / when detatching from its controlling terminal. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira