summaryrefslogtreecommitdiff
path: root/~coadde/mariadb/mysqld
diff options
context:
space:
mode:
Diffstat (limited to '~coadde/mariadb/mysqld')
-rw-r--r--~coadde/mariadb/mysqld6
1 files changed, 3 insertions, 3 deletions
diff --git a/~coadde/mariadb/mysqld b/~coadde/mariadb/mysqld
index 1ac88a7cc..4bbddb5a4 100644
--- a/~coadde/mariadb/mysqld
+++ b/~coadde/mariadb/mysqld
@@ -11,7 +11,7 @@ getPID() {
case "$1" in
start)
stat_busy "Starting MySQL Server"
- [ ! -d /var/run/mysqld ] && install -d -g mysql -o mysql /var/run/mysqld &>/dev/null
+ [ ! -d /run/mysqld ] && install -d -g mysql -o mysql /run/mysqld &>/dev/null
if [ -z "$(getPID)" ]; then
/usr/bin/mysqld_safe --user=mysql &>/dev/null &
if [ $? -gt 0 ]; then
@@ -29,7 +29,7 @@ case "$1" in
stat_fail
exit 1
else
- echo $(getPID) > /var/run/mysqld/mysqld.pid
+ echo $(getPID) > /run/mysqld/mysqld.pid
add_daemon mysqld
stat_done
fi
@@ -54,7 +54,7 @@ case "$1" in
let timeo=${timeo}-1
done
if [ -z "$(getPID)" ]; then
- rm -f /var/run/mysqld/mysqld.pid &>/dev/null
+ rm -f /run/mysqld/mysqld.pid &>/dev/null
rm_daemon mysqld
stat_done
else