dataset/seed/ldap-client/templates/ldap-client.service

8 lines
202 B
SYSTEMD
Raw Permalink Normal View History

2022-08-18 16:38:37 +02:00
[Unit]
After=network-online.target
Before=risotto.target
[Service]
Type=oneshot
2023-06-23 08:12:05 +02:00
ExecStart=/usr/bin/timeout 90 bash -c 'while ! 3<> /dev/tcp/{{ ldap_server_address }}/{{ ldap_port }}; do sleep 1; done'