commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David North (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DAEMON-264) Change current working directory to / when daemonising
Date Thu, 01 Nov 2012 13:57:13 GMT
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

Mime
View raw message