mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-02-26 06:43:16 +08:00
UTC was moved to Etc/UTC
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
af7f60cd9f
commit
872ee180c7
2 changed files with 3 additions and 3 deletions
|
@ -304,8 +304,8 @@ E.g. https://internal.ip.of.this.server:8080
|
||||||
If your server has port 80 and 8443 open and you point a domain to your server, you can get a valid certificate automatically by opening the Nextcloud AIO Interface via:
|
If your server has port 80 and 8443 open and you point a domain to your server, you can get a valid certificate automatically by opening the Nextcloud AIO Interface via:
|
||||||
https://your-domain-that-points-to-this-server.tld:8443"
|
https://your-domain-that-points-to-this-server.tld:8443"
|
||||||
|
|
||||||
# Set the timezone to UTC
|
# Set the timezone to Etc/UTC
|
||||||
export TZ=UTC
|
export TZ=Etc/UTC
|
||||||
|
|
||||||
# Fix apache startup
|
# Fix apache startup
|
||||||
rm -f /var/run/apache2/httpd.pid
|
rm -f /var/run/apache2/httpd.pid
|
||||||
|
|
|
@ -317,7 +317,7 @@ class DockerActionManager
|
||||||
}
|
}
|
||||||
} elseif ($out[1] === 'TIMEZONE') {
|
} elseif ($out[1] === 'TIMEZONE') {
|
||||||
if ($this->configurationManager->GetTimezone() === '') {
|
if ($this->configurationManager->GetTimezone() === '') {
|
||||||
$replacements[1] = 'UTC';
|
$replacements[1] = 'Etc/UTC';
|
||||||
} else {
|
} else {
|
||||||
$replacements[1] = $this->configurationManager->GetTimezone();
|
$replacements[1] = $this->configurationManager->GetTimezone();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue