File: postrm

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

set -e

case "$1" in
  purge)
    rm -rf /var/log/prometheus/prometheus-postgres-exporter.log \
      /run/prometheus/prometheus-postgres-exporter.pid

	# We do NOT remove the system user.
  ;;
esac

#DEBHELPER#