Revision c9064964 lib/backend.py
b/lib/backend.py | ||
---|---|---|
64 | 64 |
def StopMaster(): |
65 | 65 |
"""Deactivate this node as master. |
66 | 66 |
|
67 |
This does two things: |
|
68 |
- run the master stop script |
|
69 |
- remove link to master cron script. |
|
67 |
This runs the master stop script. |
|
70 | 68 |
|
71 | 69 |
""" |
72 | 70 |
result = utils.RunCmd([constants.MASTER_SCRIPT, "-d", "stop"]) |
Also available in: Unified diff