dataset/seed/applicationservice/2022.03.08/lemonldap/templates/lemonldap-ng-fastcgi-server.service
Emmanuel Garette 0cab627154 update
2022-06-24 19:00:16 +02:00

6 lines
316 B
Desktop File

[Unit]
After=nginx.service
[Service]
ExecStartPre=/usr/bin/timeout 90 bash -c 'while ! 3<> /dev/tcp/%%ldap_server_address/%%ldap_port; do sleep 1; done'
ExecStartPost=-/usr/bin/timeout 10 bash -c 'while ! /usr/local/lib/sbin/interne_well_known.pl > /var/www/html/.well-known/openid-configuration; do sleep 5; done'