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

Add support for :sudo service property #102

Merged
merged 4 commits into from
Nov 7, 2017
Merged

Conversation

felipeochoa
Copy link
Contributor

@felipeochoa felipeochoa commented Jul 19, 2017

I've taken a first stab at adding sudo (#29) support by calling the process through the shell. You can see the results here. This PR only includes support for the :sudo prop, not for :sudo-user, as you'd originally specified.

If you approve of the approach I'll add some unit tests to get this merged.


Todos:

  • Implement :sudo functionality
  • Add unit test for sudo services
  • Update docstring for prodigy-services

@felipeochoa
Copy link
Contributor Author

@rejeep I've added a test for the :sudo functionality. I've also been using this for the past two weeks without issue. Let me know if it looks good to merge

@felipeochoa
Copy link
Contributor Author

@rejeep bump!

@rejeep
Copy link
Owner

rejeep commented Nov 7, 2017

@felipeochoa Code looks nice and tidy and I trust you have verified that it works, merging. Thanks for the contribution!

@rejeep rejeep merged commit 9c6c494 into rejeep:master Nov 7, 2017
@felipeochoa
Copy link
Contributor Author

@rejeep Thanks!

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