fix(config): fix old apache.service usage

This commit is contained in:
Benjamin Neff 2020-10-13 02:39:45 +02:00
parent c5fffd2c78
commit 32f05e5a66
No known key found for this signature in database
GPG Key ID: 971464C3F1A90194
8 changed files with 10 additions and 10 deletions

View File

@ -19,8 +19,8 @@ apache-config-logrotate-file-managed:
create 640 root adm
sharedscripts
postrotate
if /etc/init.d/{{ apache.service }} status >/dev/null; then \
/etc/init.d/{{ apache.service }} reload >/dev/null; \
if /etc/init.d/{{ apache.service.name }} status >/dev/null; then \
/etc/init.d/{{ apache.service.name }} reload >/dev/null; \
fi;
endscript
prerotate

View File

@ -1,6 +1,6 @@
<IfModule !mpm_prefork_module>
LoadModule cgid_module libexec/{{ apache.service }}/mod_cgid.so
LoadModule cgid_module libexec/{{ apache.service.name }}/mod_cgid.so
</IfModule>
<IfModule mpm_prefork_module>
LoadModule cgi_module libexec/{{ apache.service }}/mod_cgi.so
LoadModule cgi_module libexec/{{ apache.service.name }}/mod_cgi.so
</IfModule>

View File

@ -1 +1 @@
LoadModule perl_module libexec/{{ apache.service }}/mod_perl.so
LoadModule perl_module libexec/{{ apache.service.name }}/mod_perl.so

View File

@ -1,4 +1,4 @@
LoadModule php5_module /usr/local/libexec/{{ apache.service }}/libphp5.so
LoadModule php5_module /usr/local/libexec/{{ apache.service.name }}/libphp5.so
DirectoryIndex index.html index.php

View File

@ -1 +1 @@
LoadModule proxy_module libexec/{{ apache.service }}/mod_proxy.so
LoadModule proxy_module libexec/{{ apache.service.name }}/mod_proxy.so

View File

@ -1 +1 @@
LoadModule proxy_http_module libexec/{{ apache.service }}/mod_proxy_http.so
LoadModule proxy_http_module libexec/{{ apache.service.name }}/mod_proxy_http.so

View File

@ -1 +1 @@
LoadModule rewrite_module libexec/{{ apache.service }}/mod_rewrite.so
LoadModule rewrite_module libexec/{{ apache.service.name }}/mod_rewrite.so

View File

@ -1 +1 @@
LoadModule suexec_module libexec/{{ apache.service }}/mod_suexec.so
LoadModule suexec_module libexec/{{ apache.service.name }}/mod_suexec.so