Remote server management:

start (Python script): remove a stop_daemons file on every host
This commit is contained in:
Bernd Machenschalk 2013-05-16 11:30:44 +02:00
parent f554c58e16
commit 71a63c8bc7
1 changed files with 1 additions and 2 deletions

View File

@ -416,8 +416,7 @@ def run_daemon(task):
def run_daemons():
found_any = False
if verbose: print "Starting daemons"
if is_main_host:
remove_stop_daemons()
remove_stop_daemons()
for task in config.daemons:
if task.host != local_hostname:
continue