Skip to content

Conversation

@bpartridge
Copy link

Important for certain servers which expect i.e. npm start to run from the repository directory. Not sure what forever/upstart take as their default working directory; happy to fix if '/' doesn't work.

Thanks for contributing this role!

@pbuyle
Copy link
Member

pbuyle commented Feb 8, 2016

Wouldn't make more sens to use env WORKING_PATH="{{ item.working_dir|default(item.file | dirname) }}"?

It seems safer to assume an application runs in its own directory if nothing is specified.

@pbuyle
Copy link
Member

pbuyle commented Feb 8, 2016

Also, the working_dir option need to be documented in the README file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants