mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
wtf bugfix
This commit is contained in:
parent
5b8226dcac
commit
26cd267e1f
2 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@ from yunohost_user import user_info
|
||||||
repo_path = '/var/cache/yunohost/repo'
|
repo_path = '/var/cache/yunohost/repo'
|
||||||
apps_path = '/usr/share/yunohost/apps'
|
apps_path = '/usr/share/yunohost/apps'
|
||||||
apps_setting_path= '/etc/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'
|
a2_template_path = '/etc/yunohost/apache/templates'
|
||||||
install_tmp = '/tmp/yunohost/install'
|
install_tmp = '/tmp/yunohost/install'
|
||||||
app_tmp_folder = install_tmp + '/from_file'
|
app_tmp_folder = install_tmp + '/from_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('mkdir -p /var/lib/metronome/'+ domain.replace('.', '%2e') +'/pep')
|
||||||
os.system('chown -R metronome: /var/lib/metronome/')
|
os.system('chown -R metronome: /var/lib/metronome/')
|
||||||
os.system('chown -R metronome: /etc/metronome/conf.d/')
|
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):
|
if yldap.add('virtualdomain=' + domain + ',ou=domains', attr_dict):
|
||||||
result.append(domain)
|
result.append(domain)
|
||||||
|
|
Loading…
Reference in a new issue