summaryrefslogtreecommitdiff
path: root/user/redis/redis.pre-install
blob: 31faf206fdb92813d9f430b69ab46443bedd1a1f (plain) (blame)
1
2
3
4
5
6
7
#!/bin/sh

groupadd -r redis 2>/dev/null
useradd -c redis -s /sbin/nologin -g redis \
	-m -d /var/lib/redis -k /etc/skel -r redis 2>/dev/null

exit 0