summaryrefslogtreecommitdiffstats
path: root/abs/core/runit-scripts
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-10-29 19:06:36 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-10-29 19:06:36 (GMT)
commitdb64dfba0f50a54dc1835b770fe86d6ff0465378 (patch)
tree9744f7cc56c658f5965f80247c30851d8a32d7f1 /abs/core/runit-scripts
parent9b57bfb2f2074613a60b29518b0671cbc7eff711 (diff)
downloadlinhes_pkgbuild-db64dfba0f50a54dc1835b770fe86d6ff0465378.zip
linhes_pkgbuild-db64dfba0f50a54dc1835b770fe86d6ff0465378.tar.gz
linhes_pkgbuild-db64dfba0f50a54dc1835b770fe86d6ff0465378.tar.bz2
runit-scripts: update mysql startup script for 5.5
Diffstat (limited to 'abs/core/runit-scripts')
-rwxr-xr-xabs/core/runit-scripts/runitscripts/services/mysql/run2
1 files changed, 1 insertions, 1 deletions
diff --git a/abs/core/runit-scripts/runitscripts/services/mysql/run b/abs/core/runit-scripts/runitscripts/services/mysql/run
index 9589e6d..e9dc6f6 100755
--- a/abs/core/runit-scripts/runitscripts/services/mysql/run
+++ b/abs/core/runit-scripts/runitscripts/services/mysql/run
@@ -35,5 +35,5 @@ if [ ! -d /var/run/mysqld ]; then
mkdir -p /var/run/mysqld
chown mysql /var/run/mysqld
fi
+exec /usr/bin/mysqld_safe --user=mysql &>/dev/null
-exec /usr/sbin/mysqld -u mysql 2>/dev/null >/dev/null