dataset/seed/mariadb-client/templates/mariadbclient.service
2022-08-18 16:39:46 +02:00

8 lines
263 B
Desktop File

[Unit]
Description=Waiting for mariadb server
After=network-online.target
Before=risotto.target
[Service]
Type=oneshot
ExecStart=/usr/bin/timeout 90 bash -c 'while ! 3<> /dev/tcp/%%mariadb_client_server_domainname/3306; do sleep 1; done; echo "MARIADB STARTED"'