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

8 lines
194 B
SYSTEMD
Raw Normal View History

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