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 #7050: Add a rudder server disable command #62
Fixes #7050: Add a rudder server disable command #62
Conversation
11c441f
to
fa8d742
Compare
Commit modified |
# @man from doing any changes on your agents | ||
|
||
# First, prevent the agent from restarting cf-serverd | ||
touch /opt/rudder/etc/disable-policy-distribution |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This depends on Normation/rudder-techniques#929
Normation/rudder-techniques#929 has been merged now. @peckpeck can you review this please? |
|
||
# Then, actually stop the server right now | ||
if type killall > /dev/null 2> /dev/null; then | ||
killall -1 cf-serverd |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1 is SIGHUP, this is made for reloading not stopping
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch, this was a lazy copy paste
fa8d742
to
0398ae6
Compare
Commit modified |
OK, merging this PR |
https://www.rudder-project.org/redmine/issues/7050