summaryrefslogtreecommitdiff
path: root/experimental/mariadb/mariadb.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'experimental/mariadb/mariadb.pre-install')
-rw-r--r--experimental/mariadb/mariadb.pre-install4
1 files changed, 4 insertions, 0 deletions
diff --git a/experimental/mariadb/mariadb.pre-install b/experimental/mariadb/mariadb.pre-install
new file mode 100644
index 000000000..ec71275ca
--- /dev/null
+++ b/experimental/mariadb/mariadb.pre-install
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+groupadd -g 60 -r mysql
+useradd -u 60 -c "MariaDB Database User" -d /var/lib/mysql -M -N -G mysql -r -s /sbin/nologin mysql