ddollar/foreman — pull request #372 by omarkhan (2013-06-21 11:26:43+00:00)
Title: Don't make log and run dirs on export

We've been using foreman to run our code in development. When we want to deploy we package everything up as a deb which we install on our remote servers, with upstart taking care of running processes. We'd like to use foreman to generate upstart scripts and include these in the deb package, but the export fails when foreman tries to create log and run dirs. Creating these dirs locally doesn't make sense for us as we just want to push the generated scripts to our remote servers. We don't want to have to install ruby and foreman on our production servers just to generate upstart scripts.

This patch stops foreman from trying to create those dirs on export. I figure it makes more sense to shift the responsibility for creating log and run dirs to the scripts themselves - indeed the included upstart template already creates the log dir. Feel free to reject the patch if you disagree.