mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 06:26:57 +00:00
allow to adjust the max upload time
Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
parent
eb744398d7
commit
f42cb98b98
8 changed files with 26 additions and 0 deletions
|
|
@ -112,6 +112,14 @@ It is set to '$NEXTCLOUD_UPLOAD_LIMIT'."
|
|||
exit 1
|
||||
fi
|
||||
fi
|
||||
if [ -n "$NEXTCLOUD_MAX_TIME" ]; then
|
||||
if ! echo "$NEXTCLOUD_MAX_TIME" | grep -q '^[0-9]\+$'; then
|
||||
echo "You've set NEXTCLOUD_MAX_TIME but not to an allowed value.
|
||||
The string must be a number. E.g. '3600'.
|
||||
It is set to '$NEXTCLOUD_MAX_TIME'."
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
if [ -n "$APACHE_PORT" ]; then
|
||||
if ! check_if_number "$APACHE_PORT"; then
|
||||
echo "You provided an Apache port but did not only use numbers.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue