mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-01-22 07:03:21 +01:00
Optimized cert copying
This commit is contained in:
parent
a8f664d9bb
commit
b63b054dee
@ -11,7 +11,8 @@ domain="$1"
|
||||
docker_compose_instance_directory="$2"
|
||||
|
||||
# Copy certificates
|
||||
cp -Rv "/etc/letsencrypt/live/$domain/"* "$docker_compose_instance_directory/certs" || exit 1
|
||||
cp -RvL "/etc/letsencrypt/live/$domain/"* "$docker_compose_instance_directory/certs" || exit 1
|
||||
chmod a+r -v "$docker_compose_instance_directory/certs/"*
|
||||
|
||||
# Flag to track if any Nginx reload was successful
|
||||
nginx_reload_successful=false
|
||||
|
Loading…
x
Reference in New Issue
Block a user