diff options
author | Thomas Backlund <tmb@mageia.org> | 2021-03-06 21:48:35 +0200 |
---|---|---|
committer | Thomas Backlund <tmb@mageia.org> | 2021-03-06 21:48:35 +0200 |
commit | 4f95b49124aa1519ea4e712c673c61922f518222 (patch) | |
tree | 1faa41023693aaf4cad33bbe1cad64e3bd5bf306 /modules/apache | |
parent | 0d288482b8d7d88044eabefb88bc5b35c420da11 (diff) | |
download | puppet-4f95b49124aa1519ea4e712c673c61922f518222.tar puppet-4f95b49124aa1519ea4e712c673c61922f518222.tar.gz puppet-4f95b49124aa1519ea4e712c673c61922f518222.tar.bz2 puppet-4f95b49124aa1519ea4e712c673c61922f518222.tar.xz puppet-4f95b49124aa1519ea4e712c673c61922f518222.zip |
apache: update logrotate to use systemctl calls
Diffstat (limited to 'modules/apache')
-rw-r--r-- | modules/apache/templates/logrotate | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/modules/apache/templates/logrotate b/modules/apache/templates/logrotate index b144b2a2..dec386fe 100644 --- a/modules/apache/templates/logrotate +++ b/modules/apache/templates/logrotate @@ -4,10 +4,7 @@ missingok notifempty compress - prerotate - /etc/rc.d/init.d/httpd closelogs > /dev/null 2>&1 || : - endscript postrotate - /etc/rc.d/init.d/httpd closelogs > /dev/null 2>&1 || : + /bin/systemctl reload httpd.service > /dev/null 2>/dev/null || true endscript } |