Commits

Garth Johnson committed 231eb78

Apache restart changed to graceful to easy transitions and updates

Comments (0)

Files changed (2)

djaboto/__init__.py

 # -*- coding: utf-8 -*-
-VERSION = (0,0,4,'alpha',3)
+VERSION = (0,0,4,'alpha',4)
 
 def get_version(version=None):
     """Derives a PEP386-compliant version number from VERSION."""

djaboto/management/commands/aws.py

         instance = self.get_awsInstance()
         fab_api.env.host_string = instance.ip_address
 
-        print(fab_colors.yellow("Reloding Apache..."))
+        print(fab_colors.yellow("Graceful Apache..."))
 
-        fab_api.sudo('/etc/init.d/apache2 reload')
+        fab_api.sudo('apache2ctl graceful')
 
     def cmd_terminateInstance(self):
         """terminate instance and remove from .aws_fabric"""