mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-12-15 23:48:54 +00:00
0381a38363
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.
20 lines
469 B
Desktop File
20 lines
469 B
Desktop File
[Unit]
|
|
Description=MariaDB server
|
|
After=graphical.target network-online.service
|
|
Before=kodi.service
|
|
|
|
[Service]
|
|
Type=forking
|
|
PIDFile=/run/mysqld/mysqld.pid
|
|
ExecStart=/bin/sh -c "exec sh /storage/.kodi/addons/service.mariadb/bin/mariadb.start"
|
|
ExecStop=/bin/sh -c "exec sh /storage/.kodi/addons/service.mariadb/bin/mariadb.stop"
|
|
TimeoutStartSec=60
|
|
TimeoutStopSec=60
|
|
Restart=always
|
|
RestartSec=10
|
|
StartLimitInterval=0
|
|
|
|
[Install]
|
|
Alias=mariadb.service
|
|
WantedBy=kodi.service
|