File: postrm

package info (click to toggle)
prometheus-alertmanager 0.15.3+ds-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,776 kB
  • sloc: sh: 168; makefile: 116
file content (16 lines) | stat: -rw-r--r-- 352 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
# Script executed after the package is removed.

set -e

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

#DEBHELPER#