Created
May 2, 2014 12:26
-
-
Save schlomo/b9bed7f4f857c140cbd2 to your computer and use it in GitHub Desktop.
Replace httpd.conf with list of includes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ! echo '# HTTPD conf framework. Will be overwritten to this content on each install of the rpm package!!! | |
# This file is managed by %{name}-%{version}-%{release} | |
ServerRoot "/etc/httpd" | |
Include conf/basic/*.conf | |
Include conf/main/*.conf | |
Include conf/other/*.conf | |
' >/etc/httpd/conf/httpd.conf ; then | |
logger -p user.err -s -t %name -- "ERROR: Could not replace content of '/etc/httpd/conf/httpd.conf'" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment