File: postrm

package info (click to toggle)
prometheus-pushgateway 1.11.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,348 kB
  • sloc: javascript: 119; sh: 54; makefile: 40
file content (16 lines) | stat: -rw-r--r-- 362 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
# postrm script for prometheus-pushgateway
# Script executed after the package is removed.

set -e

case "$1" in
  purge)
        rm -rf /var/log/prometheus/prometheus-pushgateway.log* \
            /var/lib/prometheus/pushgateway.data \
            /run/prometheus/prometheus-pushgateway.pid
	# We do NOT remove the system user.
	;;
esac

#DEBHELPER#