Merge "Add .gitreview"
diff --git a/.gitignore b/.gitignore
index aa8e42a..9d5880e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
 *.swp
 *.pyc
 .ropeproject
+.idea
diff --git a/apache/meta/logrotate.yml b/apache/meta/logrotate.yml
index a9084f3..7fd6e20 100644
--- a/apache/meta/logrotate.yml
+++ b/apache/meta/logrotate.yml
@@ -19,4 +19,4 @@
               RESULT=$(( $RANDOM % $RANGE));
               RESULT=$(( $RESULT + $RANDOM_START ));
               sleep $RESULT
-        - postrotate: "if /etc/init.d/apache2 status > /dev/null; then /etc/init.d/apache2 restart > /dev/null; fi"
+        - postrotate: "if /etc/init.d/apache2 status > /dev/null; then (/usr/sbin/apachectl graceful > /dev/null) || (/usr/sbin/apachectl restart > /dev/null); fi"