dataset/seed/lemonldap/templates/lemonldap-ng-fastcgi-server.service

8 lines
448 B
SYSTEMD
Raw Normal View History

2022-03-08 19:42:28 +01:00
[Unit]
After=nginx.service
[Service]
2022-06-24 19:00:16 +02:00
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/int; do sleep 5; done'
ExecStartPost=-/bin/bash -c '/usr/local/lib/sbin/interne_well_known.pl no > /var/www/html/.well-known/openid-configuration/ext'