forked from stove/dataset
8 lines
233 B
SYSTEMD
8 lines
233 B
SYSTEMD
|
[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"'
|