| Version Number | 1.337 |
| Finished | Yes |
| Type | feature |
This feature is still in testing, considered BETA at this time. It assumes that the graceful command is setup in your /etc/init.d/httpd boot script. Most scripts will simply have something like:
graceful|help|configtest)
$apachectl $@
which is fine.
To enable this feature, add:
graceful_restarts=1
to your directadmin.conf, then restart DA.
Any call to add action=httpd&value=restart to the task.queue file will have it replaced with action=httpd&value=graceful.
Note that the full extent of not doing full retarts is not yet known, hence testing is required. Preliminary test show no issues when adding and removing new virtualhost with SSL certificates in apache 2.2.
Note that restarts issued in the service monitor will still do full restarts.