mirror of
https://github.com/nextcloud/docker.git
synced 2025-04-24 20:34:10 +02:00
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>
This commit is contained in:
parent
476e60305b
commit
de90bed706
11 changed files with 21 additions and 21 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue