0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-12-16 14:58:53 +00:00
Rudi Heitbaum 0381a38363 mariadb: update /var/run to /run
The following warning has been occuring with mariadb, update the
references to use the non legacy directory - /run

systemd[1]: /storage/.config/system.d/service.mariadb.service:8:
  PIDFile= references a path below legacy directory /var/run/,
  updating /var/run/mysqld/mysqld.pid → /run/mysqld/mysqld.pid;
  please update the unit file accordingly.
2022-11-07 16:13:43 +00:00

7 lines
149 B
Bash
Executable File

#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
kill $(cat /run/mysqld/mysqld.pid)