Add to Favourites Add to Favourites    Print this Article Print this Article

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

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



Was this answer helpful?

Also Read