Go to file
Sebastian Kemper fa6ea0b137 mariadb: switch init to mysqld_safe and mysqladmin
mysqld_safe is the recommended way to start the server on non-systemd
systems ([1]). For instance, it has a crash detection with auto-restart
function, can update ulimits, setup core files, set the niceness of the
server etc. It looks like it could also be helpful when trying to set up
clusters. It's maintained upstream and adding it means we don't need to
add these features into our init script.

mysqld_safe is a script itself, so it's added to conffiles in case users
want to edit it.

It can't be run under procd, so the init script is converted to a normal
System V type. To stop the server and to reload the privileges tables
mysqladmin is used. To that end mysqladmin is moved into the server
package.

While changing the init script, the Debian init script was used for
ideas. It wasn't copied verbatim and adapted a bit here and there.
Thanks to whoever wrote it!

This commit removes the support for starting the service as a user other
than "mariadb". This makes the init script simpler. If anybody wants to
play around with the user then it's up to them to fix the permissions.

[1] https://mariadb.com/kb/en/mysqld_safe/

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-05-12 00:13:11 +02:00
.circleci circleci: Revert switch to CDN due to breakage 2019-11-22 23:19:56 +01:00
.github repo: Add more information to the issue template 2019-04-07 20:18:55 +00:00
.keys build: move gpg keys into .keys directory 2018-04-30 13:14:25 -07:00
admin syslog-ng: including user settings after system settings 2020-05-02 17:22:50 -06:00
devel meson: update to 0.54.1 2020-05-01 12:56:22 -07:00
fonts/dejavu-fonts-ttf [dejavu-fonts] add license info and myself as maintainer 2017-02-22 18:39:54 +01:00
ipv6 miredo: Makefile fixes 2020-03-22 15:48:28 +03:00
kernel ksmbd: update to 3.1.6 2020-03-23 16:42:12 -07:00
lang python-certifi: bump to 2020.4.5.1, update email 2020-05-08 11:44:34 -03:00
libs mariadb: install config files readable for all 2020-05-11 22:15:01 +02:00
mail dovecot: remove incorrect PKG_BUILD_DEPENDS 2020-04-30 00:52:12 +01:00
multimedia treewide: Update ARM NEON/VFP detection 2020-05-11 03:10:20 +08:00
net Merge pull request #12121 from 4wrxb/acme_dns_calias 2020-05-11 11:47:48 +02:00
sound treewide: Update ARM NEON/VFP detection 2020-05-11 03:10:20 +08:00
utils mariadb: switch init to mysqld_safe and mysqladmin 2020-05-12 00:13:11 +02:00
.travis.yml travis: Use Ubuntu (Bionic Beaver) 18.04 LTS 2019-10-23 15:30:35 +02:00
.travis_do.sh travis: Download SDK from OpenWrt instead of LEDE 2019-10-23 15:30:35 +02:00
CONTRIBUTING.md CONTRIBUTING.md: update Identifier for Licenses 2019-04-18 12:07:48 +02:00
LICENSE Add GPLv2 pro-forma license 2014-06-16 08:14:04 +02:00
README.md README.md - update links to current docs pages 2018-08-31 15:08:17 -04:00

README.md

OpenWrt packages feed

Description

This is the OpenWrt "packages"-feed containing community-maintained build scripts, options and patches for applications, modules and libraries used within OpenWrt.

Installation of pre-built packages is handled directly by the opkg utility within your running OpenWrt system or by using the OpenWrt SDK on a build system.

Usage

This repository is intended to be layered on-top of an OpenWrt buildroot. If you do not have an OpenWrt buildroot installed, see the documentation at: OpenWrt Buildroot Installation on the OpenWrt support site.

This feed is enabled by default. To install all its package definitions, run:

./scripts/feeds update packages
./scripts/feeds install -a -p packages

License

See LICENSE file.

Package Guidelines

See CONTRIBUTING.md file.