Uploaded image for project: 'Commons Daemon'
  1. Commons Daemon
  2. DAEMON-264

Change current working directory to / when daemonising

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.0.10
    • 1.0.11
    • Jsvc
    • None
    • Linux

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dtn-cfl David North
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: