Skip to content

Set $0 to more easily find gazelle in ps(1)#30

Open
frioux wants to merge 1 commit intokazeburo:masterfrom
frioux:set-cmdline
Open

Set $0 to more easily find gazelle in ps(1)#30
frioux wants to merge 1 commit intokazeburo:masterfrom
frioux:set-cmdline

Conversation

@frioux
Copy link
Contributor

@frioux frioux commented Oct 26, 2016

In starman $0 is set to starman master and starman worker respectively. This is super handy when doing debugging. This patch adds the same feature to Gazelle.

@frioux
Copy link
Contributor Author

frioux commented Jan 6, 2018

Any reason not to merge this?

@kazeburo
Copy link
Owner

I think that it is better to rewrite process name with --process-name option.
And By default, it is better not to rewrite for backward compatibility.

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