dataset/seed/applicationservice/2022.03.08/mariadb-client/templates/mariadbclient.service
Emmanuel Garette da3e4d487d add piwigo
2022-04-28 21:48:16 +02:00

7 lines
233 B
Desktop File

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