From 26cd267e1faa9f9023e1c290032ea54f232a125c Mon Sep 17 00:00:00 2001 From: Yunohost Date: Sat, 22 Jun 2013 13:24:47 +0200 Subject: [PATCH] wtf bugfix --- yunohost_app.py | 2 +- yunohost_domain.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/yunohost_app.py b/yunohost_app.py index b6c3e032..4fafee25 100644 --- a/yunohost_app.py +++ b/yunohost_app.py @@ -14,7 +14,7 @@ from yunohost_user import user_info repo_path = '/var/cache/yunohost/repo' apps_path = '/usr/share/yunohost/apps' apps_setting_path= '/etc/yunohost/apps/' -a2_settings_path = '/etc/yunohost/apache/domains/' +a2_settings_path = '/etc/yunohost/apache/domains' a2_template_path = '/etc/yunohost/apache/templates' install_tmp = '/tmp/yunohost/install' app_tmp_folder = install_tmp + '/from_file' diff --git a/yunohost_domain.py b/yunohost_domain.py index 3b2665a9..2baa0ed4 100644 --- a/yunohost_domain.py +++ b/yunohost_domain.py @@ -189,7 +189,7 @@ def domain_add(domains, web=False, main=False): os.system('mkdir -p /var/lib/metronome/'+ domain.replace('.', '%2e') +'/pep') os.system('chown -R metronome: /var/lib/metronome/') os.system('chown -R metronome: /etc/metronome/conf.d/') - os.system('service metronome reload') + os.system('service metronome restart') if yldap.add('virtualdomain=' + domain + ',ou=domains', attr_dict): result.append(domain)