diff options
author | stackcoder <stackcoder@gmail.com> | 2020-07-26 16:32:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-26 14:32:24 +0000 |
commit | de90bed706d03973c8181b695e0207fa45847c28 (patch) | |
tree | 17b5044fdbfd72ca6c562694be0aeecfce994de9 /18.0/apache/entrypoint.sh | |
parent | 476e60305b5f51aba863f0552cbaf7c2d4e0dbf9 (diff) |
Fix triggering install and update script (#1181)
* Match cmd provided by Dockerfile again with entrypoint.sh
Signed-off-by: stackcoder <stackcoder@gmail.com>
* Fixup README.md
Signed-off-by: stackcoder <stackcoder@gmail.com>
Diffstat (limited to '18.0/apache/entrypoint.sh')
-rwxr-xr-x | 18.0/apache/entrypoint.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/18.0/apache/entrypoint.sh b/18.0/apache/entrypoint.sh index b9ec5fc5..f1dd332c 100755 --- a/18.0/apache/entrypoint.sh +++ b/18.0/apache/entrypoint.sh @@ -43,13 +43,13 @@ file_env() { unset "$fileVar" } -if expr "$1" : "apache" 1>/dev/null; then +if expr "$1" : "apache2-foreground" 1>/dev/null; then if [ -n "${APACHE_DISABLE_REWRITE_IP+x}" ]; then a2disconf remoteip fi fi -if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UPDATE:-0}" -eq 1 ]; then +if expr "$1" : "apache2-foreground" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UPDATE:-0}" -eq 1 ]; then if [ -n "${REDIS_HOST+x}" ]; then echo "Configuring Redis as session handler" |