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

mina/foreman should not call sudo to start/stop/restart foreman #234

Closed
postmodern opened this issue Sep 27, 2014 · 1 comment
Closed

mina/foreman should not call sudo to start/stop/restart foreman #234

postmodern opened this issue Sep 27, 2014 · 1 comment

Comments

@postmodern
Copy link
Contributor

mina/foreman should directly interact with the foreman util.

@postmodern
Copy link
Contributor Author

Actually, I worked around this by configuring /etc/sudoers.d/:

Cmnd_Alias START_RESQUE = /sbin/start resque
app ALL=(ALL) NOPASSWD: START_RESQUE
Cmnd_Alias STOP_RESQUE = /sbin/stop resque
app ALL=(ALL) NOPASSWD: STOP_RESQUE
Cmnd_Alias RESTART_RESQUE = /sbin/restart resque
app ALL=(ALL) NOPASSWD: RESTART_RESQUE

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

1 participant