mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Attempt to fix missing perm for metronome in weird cases
This commit is contained in:
parent
839eaf7dae
commit
8737e69359
1 changed files with 3 additions and 1 deletions
|
@ -562,7 +562,9 @@ def _fetch_and_enable_new_certificate(domain, staging=False):
|
|||
_set_permissions(new_cert_folder, "root", "root", 0655)
|
||||
|
||||
# Move the private key
|
||||
shutil.move(domain_key_file, os.path.join(new_cert_folder, "key.pem"))
|
||||
domain_key_file_finaldest = os.path.join(new_cert_folder, "key.pem")
|
||||
shutil.move(domain_key_file, domain_key_file_finaldest)
|
||||
_set_permissions(domain_key_file_finaldest, "root", "metronome", 0640)
|
||||
|
||||
# Write the cert
|
||||
domain_cert_file = os.path.join(new_cert_folder, "crt.pem")
|
||||
|
|
Loading…
Add table
Reference in a new issue