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

bench setup production creates a supervisor.conf that runs everything as root #74

Closed
mgedmin opened this issue Nov 18, 2014 · 2 comments

Comments

@mgedmin
Copy link
Contributor

mgedmin commented Nov 18, 2014

I followed the instructions at https://github.com/frappe/bench#production-deployment and ran sudo bench setup production. I later discovered (via a log message in logs/worker.error.log) that the supervisor.conf created by the above command specifies user=root for all three processes. I don't think that's a good idea.

If sudo bench setup sudoers can figure out the right username ('frappe' on my VM), so should sudo bench setup production.

@pdvyas
Copy link
Contributor

pdvyas commented Nov 18, 2014

This is a bug.

@pdvyas pdvyas closed this as completed in 504a71f Nov 18, 2014
@pdvyas
Copy link
Contributor

pdvyas commented Nov 18, 2014

Released the fix. Thanks for reporting.

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