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

Use pgrep with a pattern #392

Closed
wants to merge 2 commits into from
Closed

Use pgrep with a pattern #392

wants to merge 2 commits into from

Conversation

ecarreras
Copy link
Contributor

Added a new option to find process by a pattern using pgrep -f.

@@ -35,6 +36,7 @@ var sampleConfig = `
pid_file = "/var/run/nginx.pid"
# executable name (used by pgrep)
# exe = "nginx"
# pattern = "nginx"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a comment above this one to let users know it is doing a pgrep -f

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done via 63065c7

@sparrc sparrc closed this in 13ccf42 Nov 26, 2015
@sparrc
Copy link
Contributor

sparrc commented Nov 26, 2015

thanks @ecarreras!

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.

None yet

2 participants