wtf bugfix

This commit is contained in:
Yunohost 2013-06-22 13:24:47 +02:00
parent 5b8226dcac
commit 26cd267e1f
2 changed files with 2 additions and 2 deletions

View file

@ -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'

View file

@ -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)