Add a .service to service reload

This commit is contained in:
l00d3r 2021-10-21 16:33:56 +03:00 committed by GitHub
parent 22c05d46c3
commit c18f2d308e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,7 +16,7 @@ apache-config-logrotate-file-managed:
sharedscripts
delaycompress
postrotate
/bin/systemctl reload {{ apache.service.name }} > /dev/null 2>/dev/null || true
/bin/systemctl reload {{ apache.service.name }}.service > /dev/null 2>/dev/null || true
endscript
}
{% else %}