diff options
author | A. Wilcox <awilcox@wilcox-tech.com> | 2019-07-06 19:19:37 +0000 |
---|---|---|
committer | A. Wilcox <awilcox@wilcox-tech.com> | 2019-07-06 19:19:37 +0000 |
commit | cdd7c92be92eb782d733a446e753ca89917bc7d5 (patch) | |
tree | 0d84fc7fa2f73746e84a849572151605b348bd63 /user/mariadb/mariadb-server.pre-install | |
parent | 5846d0776b625f7edbbbe552f2761bf72babd370 (diff) | |
parent | c50636433139f26543aad061d54c3708b2a4e22a (diff) | |
download | packages-cdd7c92be92eb782d733a446e753ca89917bc7d5.tar.gz packages-cdd7c92be92eb782d733a446e753ca89917bc7d5.tar.bz2 packages-cdd7c92be92eb782d733a446e753ca89917bc7d5.tar.xz packages-cdd7c92be92eb782d733a446e753ca89917bc7d5.zip |
Merge branch 'popular-demand' into master
Popular Demand Packages -- MR #1
See merge request adelie/packages!269
Diffstat (limited to 'user/mariadb/mariadb-server.pre-install')
-rw-r--r-- | user/mariadb/mariadb-server.pre-install | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/user/mariadb/mariadb-server.pre-install b/user/mariadb/mariadb-server.pre-install new file mode 100644 index 000000000..de2bcd795 --- /dev/null +++ b/user/mariadb/mariadb-server.pre-install @@ -0,0 +1,7 @@ +#!/bin/sh + +groupadd -g 60 -r mysql +useradd -M -N -r -u 60 -g 60 -c "MariaDB Database User" -d /var/lib/mysql -s /sbin/nologin mysql + +mkdir /var/lib/mysql +chown mysql:mysql /var/lib/mysql |