add_priv_user redis:redis -G redis -d /var/lib/redis -s /usr/bin/false &&

make USE_SYSTEMD=yes BUILD_TLS=yes &&
prepare_install &&
make PREFIX=/usr install &&

install -Dm644 redis.conf /etc/redis.conf &&
ln -sf redis-server /usr/bin/redis-sentinel &&

if module_installed systemd; then
   install -Dm644 $SCRIPT_DIRECTORY/sysusers.d/redis.conf /usr/lib/sysusers.d/
fi &&

gather_docs COPYING
