mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
cp cert
This commit is contained in:
parent
f02fe9c0c7
commit
dfc4899d64
1 changed files with 1 additions and 0 deletions
|
@ -139,6 +139,7 @@ def tools_maindomain(old_domain, new_domain):
|
||||||
'cp /etc/yunohost/apache/templates/user.fixed.conf /etc/yunohost/apache/domains/' + new_domain + '.d/user.fixed.conf',
|
'cp /etc/yunohost/apache/templates/user.fixed.conf /etc/yunohost/apache/domains/' + new_domain + '.d/user.fixed.conf',
|
||||||
'/usr/share/lemonldap-ng/bin/lmYnhMoulinette',
|
'/usr/share/lemonldap-ng/bin/lmYnhMoulinette',
|
||||||
'/etc/init.d/hostname.sh',
|
'/etc/init.d/hostname.sh',
|
||||||
|
'cp /etc/yunohost/certs/'+ new_domain +'/key.pem /etc/metronome/certs/yunohost_key.pem',
|
||||||
'ln -s /etc/yunohost/certs/'+ new_domain +'/key.pem /etc/ssl/private/yunohost_key.pem',
|
'ln -s /etc/yunohost/certs/'+ new_domain +'/key.pem /etc/ssl/private/yunohost_key.pem',
|
||||||
'ln -s /etc/yunohost/certs/'+ new_domain +'/crt.pem /etc/ssl/certs/yunohost_crt.pem',
|
'ln -s /etc/yunohost/certs/'+ new_domain +'/crt.pem /etc/ssl/certs/yunohost_crt.pem',
|
||||||
'echo '+ new_domain +' > /etc/yunohost/current_host',
|
'echo '+ new_domain +' > /etc/yunohost/current_host',
|
||||||
|
|
Loading…
Add table
Reference in a new issue