mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
Permission fix
This commit is contained in:
parent
5a05feb842
commit
9c9406e49e
1 changed files with 1 additions and 0 deletions
|
@ -179,6 +179,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')
|
||||
|
||||
if yldap.add('virtualdomain=' + domain + ',ou=domains', attr_dict):
|
||||
|
|
Loading…
Add table
Reference in a new issue