#!/bin/sh set -eu if [ "${1}" = "purge" ] then userdel redis || true rm -rf /var/lib/redis /var/log/redis /etc/redis fi exit 0