dataset/seed/lemonldap/templates/lemonldap-ng-fastcgi-server.service
2022-07-01 22:10:33 +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'