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

fixes #17658 - support restarting goferd on OS's with systemd, too #115

Merged
merged 1 commit into from Dec 15, 2016

Conversation

stbenjam
Copy link
Member

No description provided.

@@ -95,6 +95,10 @@ fi
service goferd status >/dev/null && \
service goferd restart >/dev/null 2&>1

[ -f /bin/systemctl ] && \
systemctl status goferd >/dev/null && \
Copy link
Member

Choose a reason for hiding this comment

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

status && restart can be simpified to try-restart

Copy link
Member Author

Choose a reason for hiding this comment

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

Neat

@stbenjam stbenjam merged commit 5e02f1e into theforeman:master Dec 15, 2016
@stbenjam stbenjam deleted the 17658 branch December 15, 2016 21:17
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