Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need ability to manage multiple projects in single server #1

Closed
yurii-voievodin opened this issue Mar 10, 2017 · 1 comment
Closed

Comments

@yurii-voievodin
Copy link

Supervisor config file name vapor.conf hardcoded in "VaporSupervisord" class.
I tried to change this value to "Config.projectName" but it's doesn't helps (https://github.com/yura-voevodin/VaporFlock/commit/f072a45442cedf68f57779001f9b746ddb72a02a)

How can we solve this?

@jakeheis
Copy link
Owner

I definitely agree that there should be a Config option to override the default filename. While I'll certainly implement that when I get a chance, I'm surprised your commit did not fix the issue. The file path is computed as such:

public extension SupervisordProvider {
   
    var confFilePath: String {
        return "/etc/supervisor/conf.d/\(programName).conf"
    }
    
}

After updating the FlockDependencies.json of your project to point to this other repo and tag, did you successfully run flock --clean-all && flock build?

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

No branches or pull requests

2 participants