summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJamie Nguyen <j@jamielinux.com>2018-07-16 12:30:53 +0100
committerJamie Nguyen <j@jamielinux.com>2018-07-16 12:30:53 +0100
commit43ec837387e482da65c440df233ac0f55b39324f (patch)
tree1a7efef7ed69d5bfbd55d6968654c35f2bf21220
parentdbfa2962bd0b8a5b592937c7fac08b3c01202605 (diff)
downloadapache-43ec837387e482da65c440df233ac0f55b39324f.tar.gz
apache-43ec837387e482da65c440df233ac0f55b39324f.tar.bz2
apache-43ec837387e482da65c440df233ac0f55b39324f.tar.xz
apache-43ec837387e482da65c440df233ac0f55b39324f.zip
Split long lines
-rwxr-xr-x2.4/docker-entrypoint.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/2.4/docker-entrypoint.sh b/2.4/docker-entrypoint.sh
index e028709..8531931 100755
--- a/2.4/docker-entrypoint.sh
+++ b/2.4/docker-entrypoint.sh
@@ -92,10 +92,12 @@ fi
if [ -e /privkey.pem ] && [ -e /cert.pem ]; then
# Enable SSL Apache modules.
for i in http2 ssl; do
- sed -i -e "/^#LoadModule ${i}_module.*/s/^#//" "$HTTPD_PREFIX/conf/httpd.conf"
+ sed -e "/^#LoadModule ${i}_module.*/s/^#//" \
+ -i "$HTTPD_PREFIX/conf/httpd.conf"
done
# Enable SSL vhost.
- ln -sf ../sites-available/default-ssl.conf "$HTTPD_PREFIX/conf/sites-enabled"
+ ln -sf ../sites-available/default-ssl.conf \
+ "$HTTPD_PREFIX/conf/sites-enabled"
fi
# Create directories for Dav data and lock database.