Menu

#26 davmail.sh should exec java

v4.7.3
closed-fixed
nobody
None
5
2018-01-09
2013-02-27
No

Currently davmail.sh leaves the shell (used to run the davmail.sh script) pending in memory for the
whole duration of the davmail java process lifetime.

This can be verified through this ps output:
xxx 19461 1 0 14:49 ? 00:00:00 sh apps/davmail/davmail.sh
xxx 19463 19461 1 14:49 ? 00:00:00 java -cp apps/davmail/davmail.jar::......

This fix is simple - place an "exec" built-in command in front of the java command.

The attached patch solves this issue

Discussion

  • Uffe Jakobsen

    Uffe Jakobsen - 2013-02-27
     
  • Mickael Guessant

    • status: open --> closed-fixed
    • Group: --> v4.7.3
     
  • Mickael Guessant

    Fixed long ago...

     

Log in to post a comment.