fickit: Can use MYSQL_PASSWORD_FILE in backups
This commit is contained in:
parent
ecb815666e
commit
c547c45d31
@ -1,5 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
[ -z "${MYSQL_PASSWORD}" ] && [ -n "${MYSQL_PASSWORD_FILE}" ] && MYSQL_PASSWORD=$(cat "${MYSQL_PASSWORD_FILE}" | tr -d '\n')
|
||||||
|
|
||||||
while true
|
while true
|
||||||
do
|
do
|
||||||
sleep 360
|
sleep 360
|
||||||
|
Loading…
x
Reference in New Issue
Block a user