summaryrefslogblamecommitdiff
path: root/user/redis/redis.pre-install
blob: bdea387cb2f3faa5a7e906515b51999baad8073b (plain) (tree)
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 -r redis 2>/dev/null

exit 0