[ https://issues.apache.org/jira/browse/DAEMON-327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Thomas resolved DAEMON-327. -------------------------------- Resolution: Won't Fix See DAEMON-264 for the reasoning as to why this was implemented the way it was. I don't see a way to keep everyone happy on this. On balance, I agree with the reasoning in DAEMON-264 so I am resolving this as WONTFIX. Note that the next release is expected to be 1.1 > New -cwd default needlessly breaks backwards compatibility > ---------------------------------------------------------- > > Key: DAEMON-327 > URL: https://issues.apache.org/jira/browse/DAEMON-327 > Project: Commons Daemon > Issue Type: Bug > Components: Jsvc > Affects Versions: 1.0.15 > Environment: debian/amd64 > Reporter: Frank Gevaerts > Priority: Minor > > Before 1.0.15, jsvc did not change working directory in any way, so the way > to set the cwd for an application was just to cd to the proper directory > before calling jsvc. > Starting with 1.0.15, the -cwd option was added, which is indeed a useful > addition. > However, 1.0.15 now *always* changes directory, with / as the default. This > means that -cwd now basically has to be used if a specific cwd is needed. Of > course, -cwd is an invalid option with > +versions before 1.0.15, so now it's impossible to make an init script that > works with both older and newer jsvc setups. > It's not clear to me why leaving the cwd as is if -cwd isn't used wasn't kept. > As an extra annoyance, -version doesn't work without also setting seemingly > unrelated options, so adding code to set -cwd based on jsvc version is harder > than it should be. -- This message was sent by Atlassian JIRA (v6.4.14#64029)