Browse Source

Added code to remove Anemometer

bugfixes
gau1991 10 years ago
parent
commit
46cb343d72
  1. 13
      ee/cli/plugins/stack.py

13
ee/cli/plugins/stack.py

@ -343,9 +343,9 @@ class EEStackController(CementBaseController):
'/var/www/22222/htdocs/cache/opcache', '/var/www/22222/htdocs/cache/opcache',
'/var/www/22222/htdocs/cache/nginx/' '/var/www/22222/htdocs/cache/nginx/'
'clean.php', 'clean.php',
'/var/www/22222/htdocs/cache/memcache'] '/var/www/22222/htdocs/cache/memcache',
if self.app.pargs.anemometer: '/usr/bin/pt-query-advisor',
packages = packages + ['/var/www/22222/htdocs/db/anemometer'] '/var/www/22222/htdocs/db/anemometer']
if len(apt_packages): if len(apt_packages):
pkg.remove(apt_packages) pkg.remove(apt_packages)
@ -386,9 +386,10 @@ class EEStackController(CementBaseController):
'/var/www/22222/htdocs/cache/opcache', '/var/www/22222/htdocs/cache/opcache',
'/var/www/22222/htdocs/cache/nginx/' '/var/www/22222/htdocs/cache/nginx/'
'clean.php', 'clean.php',
'/var/www/22222/htdocs/cache/memcache'] '/var/www/22222/htdocs/cache/memcache',
if self.app.pargs.anemometer: '/usr/bin/pt-query-advisor',
packages = packages + ['/var/www/22222/htdocs/db/anemometer'] '/var/www/22222/htdocs/db/anemometer'
]
if len(apt_packages): if len(apt_packages):
pkg.purge(apt_packages) pkg.purge(apt_packages)

Loading…
Cancel
Save