Skip to content

Commit

Permalink
Merge pull request #486 from cdonati/terminate-on-down
Browse files Browse the repository at this point in the history
Use only the terminate command on appscale down
  • Loading branch information
menivaitsi committed Feb 10, 2016
2 parents deaace4 + facc00e commit 6596879
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions lib/remote_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -959,11 +959,8 @@ def stop_remote_appcontroller(cls, host, keyname, is_verbose):
is_verbose: A bool that indicates if we should print the stop commands we
exec to stdout.
"""
stop_command = 'service appscale-controller stop ; '\
'ruby /root/appscale/AppController/terminate.rb'
cls.ssh(host, keyname, stop_command, is_verbose)
time.sleep(5)
cls.ssh(host, keyname, stop_command, is_verbose)
cls.ssh(host, keyname, 'ruby /root/appscale/AppController/terminate.rb',
is_verbose)


@classmethod
Expand Down

0 comments on commit 6596879

Please sign in to comment.