dataset/seed/mariadb-client/templates/mariadbclient.service

9 lines
283 B
SYSTEMD
Raw Permalink Normal View History

2022-04-28 21:48:16 +02:00
[Unit]
Description=Waiting for mariadb server
2022-08-18 16:38:37 +02:00
After=network-online.target
Before=risotto.target
2022-04-28 21:48:16 +02:00
[Service]
Type=oneshot
2023-06-23 08:12:05 +02:00
ExecStart=/usr/bin/timeout 90 bash -c 'while ! 3<> /dev/tcp/{{ general.mariadb.mariadb_client_server_domainname }}/3306; do sleep 1; done; echo "MARIADB STARTED"'