|es|f| esniper frontend

By TwitterButtons.com

esniper quits on logrotate

If you run es-f on an Apache on debian, there could be a problem on running logrotate.

After logrotate completes, apache will be restarted and all running esniper processes will be stopped.

To fix this, you can change the restart Apache after logroate into a reload.

To do this, please change

/etc/logrotate.d/apache2

from

postrotate
  if [ -f /var/run/apache2.pid ]; then
    /etc/init.d/apache2 restart > /dev/null
  fi

to

postrotate
  if [ -f /var/run/apache2.pid ]; then
    /etc/init.d/apache2 reload > /dev/null
  fi

Now logratate make a save reload and no restart anymore.