diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2015-11-16 20:23:56 +0100 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-11-18 08:04:07 +0000 |
commit | bce627835dabf7ec2b1eec947f24601a1a42a0e9 (patch) | |
tree | 9b29dc1891b37840f4810ae1c66576cc2b4188ad /main/mariadb/mariadb.pre-install | |
parent | 4f5540c218aeeb5ffce5c2b2823823685cc8ae75 (diff) | |
download | aports-bce627835dabf7ec2b1eec947f24601a1a42a0e9.tar.bz2 aports-bce627835dabf7ec2b1eec947f24601a1a42a0e9.tar.xz |
main/mariadb: create user in .pre-install script
Diffstat (limited to 'main/mariadb/mariadb.pre-install')
-rw-r--r-- | main/mariadb/mariadb.pre-install | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/main/mariadb/mariadb.pre-install b/main/mariadb/mariadb.pre-install new file mode 100644 index 0000000000..2e6e668e7f --- /dev/null +++ b/main/mariadb/mariadb.pre-install @@ -0,0 +1,6 @@ +#!/bin/sh + +addgroup -S mysql 2>/dev/null +adduser -h /var/lib/mysql -s /sbin/nologin -G mysql -D mysql 2>/dev/null +exit 0 + |