File: redis-tools.postrm

package info (click to toggle)
redis 5%3A5.0.14-1%2Bdeb10u2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 10,868 kB
  • sloc: ansic: 122,687; tcl: 14,661; sh: 4,392; perl: 4,138; makefile: 1,332; ruby: 580; cpp: 364; python: 162
file content (13 lines) | stat: -rw-r--r-- 134 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

set -eu

if [ "${1}" = "purge" ]
then
	userdel redis || true
	rm -rf /var/lib/redis /var/log/redis
fi

#DEBHELPER#

exit 0