Compare commits

..

2 Commits

Author SHA1 Message Date
Philippe Caseiro 09fcd2eacb Disable service 2020-11-24 09:31:12 +01:00
Philippe Caseiro 6bf3f75087 Don't run postservice if service is disabled 2020-11-24 09:30:08 +01:00
2 changed files with 4 additions and 0 deletions

View File

@ -112,6 +112,7 @@
<target type='filelist'>lemon</target> <target type='filelist'>lemon</target>
<target type='filelist'>lemonCAS</target> <target type='filelist'>lemonCAS</target>
<target type='family'>LemonLDAP</target> <target type='family'>LemonLDAP</target>
<target type='service'>lemonldap-ng-fastcgi-server</target>
<target type='service_accesslist'>saLemon</target> <target type='service_accesslist'>saLemon</target>
</condition> </condition>
<condition name='disabled_if_in' source='llRegisterAccount'> <condition name='disabled_if_in' source='llRegisterAccount'>

View File

@ -1,5 +1,8 @@
#!/bin/bash #!/bin/bash
[[ $(CreoleGet activerLemon non) == "non" ]] && exit 0
# Updating Configuration cache # Updating Configuration cache
cmd="/usr/share/lemonldap-ng/bin/lemonldap-ng-cli update-cache" cmd="/usr/share/lemonldap-ng/bin/lemonldap-ng-cli update-cache"