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 #7050: Add a rudder server disable command #62

Conversation

jooooooon
Copy link
Member

@jooooooon jooooooon force-pushed the ust_7050/add_a_rudder_server_disable_command branch from 11c441f to fa8d742 Compare May 17, 2016 15:46
@jooooooon
Copy link
Member Author

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
Copy link
Member Author

@jooooooon jooooooon May 17, 2016

Choose a reason for hiding this comment

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

@jooooooon
Copy link
Member Author

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
Copy link
Member

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

Copy link
Member Author

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

@jooooooon jooooooon force-pushed the ust_7050/add_a_rudder_server_disable_command branch from fa8d742 to 0398ae6 Compare June 17, 2016 14:38
@jooooooon
Copy link
Member Author

Commit modified

@Normation-Quality-Assistant

OK, merging this PR

@Normation-Quality-Assistant Normation-Quality-Assistant merged commit 0398ae6 into Normation:master Jun 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants