mirror of
https://github.com/nextcloud/nextcloudpi.git
synced 2026-01-10 15:12:01 -03:30
Using sites-available instead of sites-enabled directory to always find the file.
This commit is contained in:
parent
2c884b7008
commit
6fe08e6858
@ -165,10 +165,10 @@ exit $RET
|
||||
EOF
|
||||
|
||||
# 2 days to avoid very big backups requests to timeout
|
||||
test -f /etc/apache2/sites-enabled/ncp.conf && {
|
||||
grep -q TimeOut /etc/apache2/sites-enabled/ncp.conf || \
|
||||
sed -i '/SSLCertificateKeyFile/aTimeOut 172800' /etc/apache2/sites-enabled/ncp.conf
|
||||
} || true
|
||||
test -f /etc/apache2/sites-available/ncp.conf && {
|
||||
grep -q TimeOut /etc/apache2/sites-available/ncp.conf || \
|
||||
sed -i '/SSLCertificateKeyFile/aTimeOut 172800' /etc/apache2/sites-available/ncp.conf
|
||||
} || echo "Warning. File /etc/apache2/sites-available/ncp.conf not found on your ncp."
|
||||
|
||||
# relocate noip2 config
|
||||
mkdir -p /usr/local/etc/noip2
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user