6 lines
161 B
Bash
Executable File
6 lines
161 B
Bash
Executable File
#!/bin/bash
|
|
|
|
getent group redis >/dev/null || groupadd -r redis
|
|
getent passwd redis || useradd -m -g redis -d /var/lib/redis -s /bin/false redis
|
|
passwd -l redis
|