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

Find systemd unit via ps #1494

Merged
merged 1 commit into from Feb 7, 2018
Merged

Find systemd unit via ps #1494

merged 1 commit into from Feb 7, 2018

Conversation

lukebakken
Copy link
Collaborator

@lukebakken lukebakken commented Feb 2, 2018

Also terminate systemctl args with -- in case the unit name starts with a dash

Fixes #1187

I discovered the unit= format option here and tested it on CentOS 7 and Ubuntu 16.

Also terminate systemctl args with `--` in case the unit name starts with a dash

Fixes #1187
@binarin
Copy link
Contributor

binarin commented Feb 2, 2018

Wow, unit= format is really a great idea!

@lukebakken
Copy link
Collaborator Author

@michaelklishin - The other option to fix this is to use the unit name directly instead of via a PID, as the name is well-known (rabbitmq-server.service)

@michaelklishin michaelklishin merged commit 5f7d621 into v3.7.x Feb 7, 2018
michaelklishin added a commit that referenced this pull request Feb 7, 2018
@lukebakken lukebakken deleted the rabbitmq-server-1187 branch February 7, 2018 15:50
@michaelklishin michaelklishin modified the milestone: 3.7.4 Feb 13, 2018
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

3 participants