1 Star 0 Fork 21

giteemaweihao/Kiwi-TCMS

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
httpd-foreground 460 Bytes
一键复制 编辑 原始数据 按行查看 历史
Mr. Senko 提交于 2020-01-15 15:32 . Cosmetic changes to httpd-foreground
#!/bin/bash
# Make sure we're not confused by old, incompletely-shutdown httpd
# context after restarting the container. httpd won't start correctly
# if it thinks it is already running.
rm -rf /run/httpd/* /tmp/httpd*
APACHE_PARAMETERS="-DFOREGROUND "
if [ -n "$KIWI_DONT_ENFORCE_HTTPS" ]; then
echo "Not enforcing HTTPS by rewriting HTTP requests"
APACHE_PARAMETERS+="-DKIWI_DONT_ENFORCE_HTTPS "
fi
exec /usr/sbin/apachectl ${APACHE_PARAMETERS}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/giteemaweihao/Kiwi-TCMS.git
git@gitee.com:giteemaweihao/Kiwi-TCMS.git
giteemaweihao
Kiwi-TCMS
Kiwi-TCMS
master

搜索帮助