summaryrefslogtreecommitdiff
path: root/~coadde/mariadb/mariadbd
diff options
context:
space:
mode:
Diffstat (limited to '~coadde/mariadb/mariadbd')
-rwxr-xr-x~coadde/mariadb/mariadbd6
1 files changed, 3 insertions, 3 deletions
diff --git a/~coadde/mariadb/mariadbd b/~coadde/mariadb/mariadbd
index 3ae612096..95986eb1a 100755
--- a/~coadde/mariadb/mariadbd
+++ b/~coadde/mariadb/mariadbd
@@ -11,7 +11,7 @@ getPID() {
case "$1" in
start)
stat_busy "Starting MariaDB Server"
- [ ! -d /var/run/mariadb ] && install -d -g mysql -o mysql /var/run/mariadb &>/dev/null
+ [ ! -d /run/mariadb ] && install -d -g mysql -o mysql /run/mariadb &>/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/mariadb/mariadb.pid
+ echo $(getPID) > /run/mariadb/mariadb.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/mariadb/mariadb.pid &>/dev/null
+ rm -f /run/mariadb/mariadb.pid &>/dev/null
rm_daemon mysqld
stat_done
else