summaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2010-09-22 12:55:10 -0400
committerMicah Anderson <micah@riseup.net>2010-09-22 12:55:10 -0400
commiteaf52f77a3963ad43e33c90dbeb8248f99610dc0 (patch)
treeb562a73c968ad7efe862316252d841502f4da925 /files
parentdeec3d6a6d6375f84fa5cec4291c45d605ebd065 (diff)
increase timeout before killing to account for slower startup speed of larger databases
Diffstat (limited to 'files')
-rw-r--r--files/scripts/Debian/setmysqlpass.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/scripts/Debian/setmysqlpass.sh b/files/scripts/Debian/setmysqlpass.sh
index 5bd63e2..427daf0 100644
--- a/files/scripts/Debian/setmysqlpass.sh
+++ b/files/scripts/Debian/setmysqlpass.sh
@@ -8,7 +8,7 @@ test $# -gt 0 || exit 1
sleep 5
echo "USE mysql; UPDATE user SET Password=PASSWORD('$1') WHERE User='root' AND Host='localhost';" | mysql -u root
killall mysqld
-sleep 5
+sleep 15
# chown to be on the safe side
ls -al /var/lib/mysql/mysql-bin.* &> /dev/null
[ $? == 0 ] && chown mysql.mysql /var/lib/mysql/mysql-bin.*