From dfc4899d647d52f8e2daaa3d7cc8fb4a107e28d7 Mon Sep 17 00:00:00 2001 From: Kload Date: Sun, 9 Jun 2013 13:27:17 +0000 Subject: [PATCH] cp cert --- yunohost_tools.py | 1 + 1 file changed, 1 insertion(+) diff --git a/yunohost_tools.py b/yunohost_tools.py index f4ea04f3..6bccd2a5 100644 --- a/yunohost_tools.py +++ b/yunohost_tools.py @@ -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', '/usr/share/lemonldap-ng/bin/lmYnhMoulinette', '/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 +'/crt.pem /etc/ssl/certs/yunohost_crt.pem', 'echo '+ new_domain +' > /etc/yunohost/current_host',