mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
Adapt LDAP scheme + reload apache
This commit is contained in:
parent
9d29143c35
commit
5a05feb842
2 changed files with 1 additions and 17 deletions
|
@ -1,10 +1,4 @@
|
||||||
parents:
|
parents:
|
||||||
ou=sudo:
|
|
||||||
ou: sudo
|
|
||||||
objectClass:
|
|
||||||
- organizationalUnit
|
|
||||||
- top
|
|
||||||
|
|
||||||
ou=users:
|
ou=users:
|
||||||
ou: users
|
ou: users
|
||||||
objectClass:
|
objectClass:
|
||||||
|
@ -56,13 +50,3 @@ childs:
|
||||||
objectClass:
|
objectClass:
|
||||||
- sudoRole
|
- sudoRole
|
||||||
- top
|
- top
|
||||||
|
|
||||||
cn=yunohost-admin,ou=sudo:
|
|
||||||
cn: yunohost-admin
|
|
||||||
sudoUser: yunohost-admin
|
|
||||||
sudoHost: ALL
|
|
||||||
sudoCommand: /usr/bin/yunohost
|
|
||||||
sudoOption: "!authenticate"
|
|
||||||
objectClass:
|
|
||||||
- sudoRole
|
|
||||||
- top
|
|
||||||
|
|
|
@ -144,7 +144,7 @@ def tools_maindomain(old_domain, new_domain):
|
||||||
'ln -s /etc/yunohost/certs/'+ new_domain +'/key.pem /etc/ssl/private/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',
|
'ln -s /etc/yunohost/certs/'+ new_domain +'/crt.pem /etc/ssl/certs/yunohost_crt.pem',
|
||||||
'echo '+ new_domain +' > /etc/yunohost/current_host',
|
'echo '+ new_domain +' > /etc/yunohost/current_host',
|
||||||
'service apache2 restart',
|
'service apache2 reload',
|
||||||
'service metronome restart',
|
'service metronome restart',
|
||||||
'service postfix restart'
|
'service postfix restart'
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue