directories corrected again
This commit is contained in:
parent
09b048dbd2
commit
bafa8cf20f
|
|
@ -3,9 +3,9 @@
|
||||||
if [[ -f /defaults/custom-cert.crt && -f /defaults/custom-cert.key ]]; then
|
if [[ -f /defaults/custom-cert.crt && -f /defaults/custom-cert.key ]]; then
|
||||||
echo "Using custom certificate as main certs. Certbot certs now named 'dcert.crt' and 'dcert.key'."
|
echo "Using custom certificate as main certs. Certbot certs now named 'dcert.crt' and 'dcert.key'."
|
||||||
cd /config/keys
|
cd /config/keys
|
||||||
mv cert.crt dcert.crt
|
mv -v cert.crt dcert.crt
|
||||||
mv cert.key dcert.key
|
mv -v cert.key dcert.key
|
||||||
cp /default/custom-cert.crt cert.crt
|
cp -v /defaults/custom-cert.crt cert.crt
|
||||||
cp /default/custom-cert.key cert.key
|
cp -v /defaults/custom-cert.key cert.key
|
||||||
chown abc:abc *
|
chown abc:user *
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue