I do not want DirectAdmin to issue an HUP or restart apache during the nightly tally.


Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"


Top Level » Apache Related Information

I do not want DirectAdmin to issue an HUP or restart apache during the nightly tally.Last Modified: Mar 20, 2013, 3:39 pm
If you're running a service on Apache where the connection cannot be broken, you might need to disable some of the apache retart options that DA uses:

1) Disable the log rotatation with the directadmin.conf option:

rotation=0

this will prevent the HUP from being sent to the PID in /var/run/httpd.pid, at 12:10am (very start of each tally).  Webalizer should still be able to work on the live logs, but it's not recommended (in the webalizer documentation)

2) You can disable the post-tally Apache restart:

restart_apache_after_tally=0


3) Another good option is to change DA to issue graceful restarts instead of full restarts, which would negate the need to use #2 above:

graceful_restarts=1


2003 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST